Closed konklone closed 11 years ago
Are we properly converting to Unicode?
When requesting a legislator with an accented name, both JSONView and downstream users see an encoding issue:
http://congress.api.sunlightfoundation.com/legislators?first_name=%22Nydia%22&apikey=XXXX
Also, visiting that URL and opening the developer console and peeking at the request text shows the same thing. However, inspecting the response via curl in my terminal, and when saved to disk and opened in Sublime Text, both show the proper accent.
Fixed in a5c2a1792bd.
Are we properly converting to Unicode?
When requesting a legislator with an accented name, both JSONView and downstream users see an encoding issue:
Also, visiting that URL and opening the developer console and peeking at the request text shows the same thing. However, inspecting the response via curl in my terminal, and when saved to disk and opened in Sublime Text, both show the proper accent.