You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Requesting http://swapi.co/api/people/66/?format=wookiee causes a UnicodeDecodeError. This works fine when not requesting the wookiee format. Looks like it's caused by an accented character in some of the character names like Dormé. The error occurs here:
/Users/mdhora/Github/swapi/resources/renderers.py in render
return bytes(self.translate_to_wookie(encoded_data)) ...
/Users/mdhora/Github/swapi/resources/renderers.py in translate_to_wookie
translated_data += char
The text was updated successfully, but these errors were encountered:
mdhorda
pushed a commit
to mdhorda/swapi
that referenced
this issue
Oct 25, 2015
Requesting http://swapi.co/api/people/66/?format=wookiee causes a UnicodeDecodeError. This works fine when not requesting the wookiee format. Looks like it's caused by an accented character in some of the character names like Dormé. The error occurs here:
/Users/mdhora/Github/swapi/resources/renderers.py in render
return bytes(self.translate_to_wookie(encoded_data)) ...
/Users/mdhora/Github/swapi/resources/renderers.py in translate_to_wookie
translated_data += char
The text was updated successfully, but these errors were encountered: