7 ms·
Should a Japanese octogenarian whose parents had the poor taste to spell their child's name with a character that would not make it into Unicode expect the same
by gloob 14y ago
Should a Japanese octogenarian whose parents had the poor taste to spell their child's name with a character that would not make it into Unicode expect the same problem?
- alanh 14y agoWhat would they enter into _any_ computer system as their name?
- guelo 14y agoYea, they got screwed over by the Unicode Consortion, don't go blaming programmers for that.
- gerrit 14y agoJapanese computer systems are often not using Unicode but are based on other encodings like shift-jis. Even if it wasn't for historical characters that aren't part of Unicode, this will probably stay that way because of the inefficiencies of encoding Asian text in e.g. UTF8. That's part of the reason the ruby programming language didn't have proper Unicode support for a long time (and now supports arbitrary encodings for its strings, not just Unicode ones)
- nandemo 14y ago> Japanese computer systems are often not using Unicode but are based on other encodings like shift-jis. That's true but doesn't really answer GP's question. Shift-jis is an encoding for one of the JIS X character sets. Unicode includes all the characters defined in JIS. http://unicode.org/faq/han_cjk.html#8 http://unicode.org/faq/han_cjk.html#8 Though if we enter into details it gets a bit messy due to the complications due to different simplifications occured in (mainland) China and Japan, questions about different glyphs for the "same" character, etc.
- tsuraan 14y agoI believe that ISO2022 allows for the full set of japanese names (and has some sort of process for introducing new kanji). That's probably a big part of the reason that Ruby's strings are bytes with an encoding attribute, rather than just being unicode.
- patio11 14y agoRuby was designed as utility goop for Japanese programmers. Inability to parse/output legacy encodings would have rendered it virtually useless for that, even if legacy encodings were strictly dominated by any available Unicode encoding, which many Japanese programmers would hotly contest.
- nandemo 14y agoThe Ruby thing is probably due to the fact that EUC and Shift-JIS were then (and to some extent still are) the prevalent encodings. It's not so much about character sets, after all Unicode includes every kanji defined in ISO-2022. Please see my other comment in this thread.
- gravitronic 14y ago"Jim".
- Natsu 14y agoIf for some weird reason all else failed, they could just write their name in hiragana.
- dalore 14y agoWhat keyboard would they use?
- bbrtyth 14y agoIt's not one character per key, they input phonetically or by type of stroke in the character.