dev builds
themes manual
device status forums
mailing lists
IRC bugs
dev guide

Rockbox mail archive

Subject: Re: Re[2]: CeBit 2004

Re: Re[2]: CeBit 2004

From: Tat Tang <>
Date: Thu, 18 Mar 2004 14:33:12 -0800 (PST)

> That's a major bug. Accented characters are not just
> accents, they are completely different characters
> and must be preserved.

I wish it was a bug, then I'd fix it!!! Unicode is the
best way to resolve the issue. (If it makes you feel
any better UK pound signs disappear.)

Here's why the issue arises.

Chinese encodings are multi-byte character sets
(MBCS). They use one byte ASCII characters (0..127)
range and two bytes for Chinese characters.

To figure out whether to read a single byte or two
bytes, you need something like this:

int strlen(unsigned char* p)


So, any character with the 8th bit set maps into
Chinese code-space...It's the reason why all web
browsers allow you to manually set the encoding. BTW
you might want to add an encoding tag to the Rockbox
pages ;)

What manufacturers do, is maintain separate European
and Chinese products...

Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam
Received on 2004-03-18

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy