Am Samstag, 18. November 2006 11:08 schrieb Jean-Marc Lasgouttes:
> >>>>> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes:
> 
> >>  Does encoding of file depend on locale? Isn't it stored on the
> >> filesystem?
> 
> Georg> I am not sure. Under linux the encoding is a mount parameter of
> Georg> some filesystems (e.g. fat or ntfs). I believe that other file
> Georg> systems like etx3 or reiserfs do not know anything about
> Georg> encodings, and that the applications interpret the raw data
> Georg> according to the locale. Further research is needed here, also
> Georg> on OS X and windows. In the worst case we need a preferences
> Georg> option that specifies how filenames are encoded. 
> 
> Isn't the OS supposed to do that for us? I can't believe that all apps
> are supposed to handle this...

Me neither, but it looks like that. I searched a bit more, and it looks 
like linux file systems really don't know anything about encodings. There 
is also a tool to convert filenames after locale changes:

http://j3e.de/linux/convmv/man/#description

Qt does it also like this:
http://doc.trolltech.com/4.2/qfile.html#encodeName


Georg

Reply via email to