4 ms·
Have you ever worked with a system that needs to deal with more than one language at the same time? What if your users want to mix Japanese with Russian in the
by kijin 15y ago
Have you ever worked with a system that needs to deal with more than one language at the same time? What if your users want to mix Japanese with Russian in the same sentence? Or Japanese and simplified Chinese? (Yes, people do that.)
In the global Internet, UTF-16 and UTF-8 are the only games in town.
- muyuu 15y agoAll the damn time I'm using several languages. Then UTF (and EUC's) are the way to go. It's not like you have to use the same encoding all the time.
- derleth 15y ago> It's not like you have to use the same encoding all the time. Then you are going to feed someone garbage. Why feed people garbage?
- muyuu 15y ago?? Not if you know what you're doing. Not any more than using utf8 exclusively all the time and for all purposes.
- derleth 15y ago> Not if you know what you're doing. This is nice in theory. In practice, people make mistakes. Make it easy on yourself. > Not any more than using utf8 exclusively all the time and for all purposes. Maybe I was unclear: Feeding me Chinese text in UTF-8 is not garbage. Feeding me anything in one of the GB encodings is garbage. Garbage, to me, is text in an encoding I can't handle. If you only use UTF-8, that cannot possibly happen.