3 ms·
One thing that remains to be done is figuring out how the encoding works. Not sure if the funny characters are coming from: YC, the API service I'm using (http:
by davewiner 16y ago
One thing that remains to be done is figuring out how the encoding works. Not sure if the funny characters are coming from: YC, the API service I'm using (http://api.ihackernews.com/new http://api.ihackernews.com/new) or JSON, but there are some funny encodings that show up. The feed is usable but looks dorky sometimes.
- ronnier 16y agoI'll take a look on my end.
- davewiner 16y agoI just added code to filter special character sequences. As I encounter special characters in the JSON, I'll just change them to more innocuous characters. Like turning a curly single quote, which is communicated by this triplet: ’ into a straight single quote.
- davewiner 16y agoThe filter seems to work! :-)