Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Strings, bytes, runes and characters in Go. Parent comment
If you're expecting to get data in other other encodings you could put together some detection and transformation at the point of ingress and convert to UTF-8 encoded text for the rest of your application.
There are no comments on this comment yet.
If you're expecting to get data in other other encodings you could put together some detection and transformation at the point of ingress and convert to UTF-8 encoded text for the rest of your application.