Hacker News new | ask | show | jobs
by ldjb 1543 days ago
Thanks for your comments. However, for certain languages it is important to specify the language in the HTML with the `lang` attribute. Otherwise incorrect glyphs may be displayed. More info:

https://heistak.github.io/your-code-displays-japanese-wrong/

2 comments

That's very interesting. Thank you for bringing it to my attention! Maybe a new setting to set the `lang` attribute is worth it.
That attribute could also let you easily group your users into different languages. If you wanted to add more discovery features or something and let people search by language. Not sure what your goal is around that. Maybe opt out of discovery by default or something.
Unicode was supposed to save us from language-specific codepages, but alas...