3 ms·
Professionally made GUI software needs Unicode even when English localized, for typography. Proper quotes, proper dashes (ASCII doesn't have a dash character,
by Const-me 5y ago
Professionally made GUI software needs Unicode even when English localized, for typography.
Proper quotes, proper dashes (ASCII doesn't have a dash character, it only has minus), non-breakable space, soft hyphen, € character, Greek letters like π and μ, etc.
- jdavis703 5y agoMost of these should be in a separate file for i18n, not directly in the source code.
- Const-me 5y agoInternationalization is not limited to putting strings into a table in resource. It also needs non-trivial amount of code. Printing numbers into strings is code not data. Yet if you want the numbers to look good, like "600 μm" or "6×10⁻⁴ meters", you gonna have Unicode in code, not the resources. Another thing, not every software needs i18n. Depends on the market. I'm yet to see a C++ compiler which would localize their output messages.
- kzrdude 5y agoGCC supports localization, that's one C++ compiler. Intel C++ compiler seems to have a Japanese version (not tried).
- jdavis703 5y ago“Meters” is an English word, and a string like “600 μm” should still probably be extracted from the code as “%d μm.”
- Const-me 5y agoStill, there’re also string like “6·10⁻⁴”