3 ms·
That's a nice article. But I feel like tweaking something in it. > The programmer should be able to use Unicode, so the source file _must_ declare its encoding
by ggchappell 14y ago
That's a nice article. But I feel like tweaking something in it.
> The programmer should be able to use Unicode, so the source file _must_ declare its encoding.
Another Great Lesson we've learned, is to avoid clutter. So a reasonable rule, IMHO, would be that any standard Unicode encoding can be declared, but the lack of such a declaration is equivalent to a declaration of UTF-8.
- lolcraft 14y agoWe also learned to only use UTF-8, so we should make it yet more simpler :) [1] Really, why declare the encoding of source code, given that we do have a universal character set and an endian-agnostic, compact representation? [1] http://www.utf8everywhere.org/ http://www.utf8everywhere.org/