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: How Rockbox generates Unicode file name?

Re: How Rockbox generates Unicode file name?

From: Linus Nielsen Feltzing <linus_at_haxx.se>
Date: Sun, 28 Mar 2004 11:18:06 +0200

tinousus_at_yahoo.com wrote:
> I am still a little confused how Rockbox deals with long names of other
> western char?

It doesn't.

> My understand is that all Rockbox internal funtion use
> shortname, which might use different code pages for different languages.

No. We use the long name only. However, we strip the most significant 8
bits.

> When creating files,like creating playlist, rockbox searches the long name
> (unicode name), copies and rewrites to the new record. Then I don't
> know why when writing "entry[]" in write_long_name(), Rockbox pad leading
> bytes with 0x00.

Simple. Our code only supports Latin-1, and expects the most significant
byte to be 0x00. We have no real support for unicode.

Linus
_______________________________________________
http://cool.haxx.se/mailman/listinfo/rockbox
Received on 2004-03-28

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