Hacker News new | ask | show | jobs
by hcarvalhoalves 4602 days ago
> While there are a ton of encodings you could use, for the web use UTF-8. You want to use UTF-8 for your entire stack. So how do we get that?

You should use your language's internal unicode representation, and decode from/encode to UTF-8 on I/O.