|
Rockbox mail archiveSubject: Re[4]: CeBit 2004Re[4]: CeBit 2004
From: Eric Linenberg <elinenbe_at_umich.edu>
Date: Thu, 18 Mar 2004 18:00:24 -0500 How does apple do it with their ipod then? According to the apple site, and my girlfriends mini it has: Languages: English, French, German, Japanese, Spanish, Italian, Dutch, Danish, Norwegian, Finnish, Swedish, Korean, Simplified Chinese, Traditional Chinese built in. -e >> That's a major bug. Accented characters are not just >> accents, they are completely different characters >> and must be preserved. TT> I wish it was a bug, then I'd fix it!!! Unicode is the TT> best way to resolve the issue. (If it makes you feel TT> any better UK pound signs disappear.) TT> Here's why the issue arises. TT> Chinese encodings are multi-byte character sets TT> (MBCS). They use one byte ASCII characters (0..127) TT> range and two bytes for Chinese characters. TT> To figure out whether to read a single byte or two TT> bytes, you need something like this: TT> int strlen(unsigned char* p) TT> { TT> } TT> So, any character with the 8th bit set maps into TT> Chinese code-space...It's the reason why all web TT> browsers allow you to manually set the encoding. BTW TT> you might want to add an encoding tag to the Rockbox TT> pages ;) TT> What manufacturers do, is maintain separate European TT> and Chinese products... TT> __________________________________ TT> Do you Yahoo!? TT> Yahoo! Mail - More reliable, more storage, less spam TT> http://mail.yahoo.com TT> _______________________________________________ TT> http://cool.haxx.se/mailman/listinfo/rockbox _______________________________________________ http://cool.haxx.se/mailman/listinfo/rockbox Received on 2004-03-19 Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy |