On Mon, 2005-10-17 at 10:42 +0600, Alexander E. Patrakov wrote:
> ROX insists that filenames are UTF-8 encoded. This means either an UTF-8 
> locale or a deviation from POSIX (POSIX implies that filenames are 
> stored on disk in the locale encoding when it describes the "tar" 
> program). Such "UTF-8 locale is required" statements are bugs, always.

Maybe it's a bug but the other way round it's not better either. If you
use filenames with non-UTF-8 and non-ASCII characters, these filenames
only get displayed correctly in locales with the same charset. Let's
assume those files are located on a network share where people with
different locales try to access; horribly broken...

IMO the only real problem with UTF-8 is that not all applications
support it (correctly). I've switched to a UTF-8 locale at least two
years ago and luckily no application I use is horribly broken AFAIR.

> 
> Testcase: create a file with non-ASCII characters in its name, using a 
> command line. Point a mouse on top of it, in order to see a hint. You'll 
> see: "This filename is not valid UTF-8. You should rename it". As 
> already mentioned, this warning is in contradiction with POSIX. Worse, 
> new files and directories are created with UTF-8 encoded filenames even 
> in non-UTF-8 locales. "ls" won't displey them correctly.

It's odd that ROX Filer uses glib-2.0 which supports non-UTF-8 filename
encodings (with G_FILENAME_ENCODING) but ROX seems to work around that
environment variable...

> 
> It is OK to include ROX Filer into a hint as long as this (upstream 
> status: wontfix) bug is mentioned and a link to the UTF-8 locale capable 
> version of the LFS book is added:

> http://www.linuxfromscratch.org/~alexander/lfs-book/
> 
> I think it is not a good idea to include ROX into BLFS book until my 
> UTF-8 LFS book gains some official status (i.e., at least a branch in 
> the official SVN repository).

Would be nice to get your UTF-8 book official or even merged.

Jürg
-- 
Jürg Billeter <[EMAIL PROTECTED]>

--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page
  • Re: ROX (was: Re: Request to XFree86 users) Jürg Billeter

Reply via email to