Rockbox mail archiveSubject: Re: Re: CeBit 2004
Re: Re: CeBit 2004
From: Björn Stenberg <bjorn_at_haxx.se>
Date: Fri, 19 Mar 2004 00:06:06 +0100
Tat Tang wrote:
> > 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!
Well that's just semantics. If the patch makes the firmware work worse for some users, it's by definition a bug and needs to be solved.
> What manufacturers do, is maintain separate European
> and Chinese products...
I don't think that is an acceptable solution. It would mean the chinese version would always lag behind the "western" Rockbox, requiring constant syncing.
A united code base is a must in the long run. I see two solutions that are much more appealing:
1) Run-time configuration. The user actually chooses if he wants to use single-byte strings or utf-8 strings. This could make the code rather complex.
2) Compile-time configuration. Simpler code and smaller size.
I do not see Rockbox moving entirely to Unicode, since that requires the presence (and use) of a font cache, which is a big burden for all western languages that don't need one.
By the way, please call symbols in the code utf8 instead of big5. Surely the code itself does not depend on the character set, but rather the encoding?
-- Björn _______________________________________________ http://cool.haxx.se/mailman/listinfo/rockboxReceived on 2004-03-19