Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: Re[2]: CeBit 2004
From: Björn Stenberg (bjorn_at_haxx.se)
Date: 2004-03-19


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/rockbox



Page was last modified "Jan 10 2012" The Rockbox Crew
aaa