[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Problems with accents in filenames

From: Jani Averbach <jaa_at_jaa.iki.fi>
Date: 2003-11-21 22:23:34 CET

On 2003-11-21 21:58+0100, Vincent Lefevre wrote:
>
> bash doesn't support non-ASCII charsets for filenames.

$ export LC_CTYPE=fi_FI.ISO8859-1
$ touch ääkkönen.txt
$ ls -l ääkkönen.txt
-rw-r--r-- 1 jaa jaa 0 2003-11-21 14:08 ääkkönen.txt

$ export LC_CTYPE=fi_FI.UTF-8
$ touch ääkkönen_2.txt
$ ls -ltr
-rw-r--r-- 1 jaa jaa 0 2003-11-21 14:08 ??kk?nen.txt
-rw-r--r-- 1 jaa jaa 0 2003-11-21 14:15 ääkkönen_2.txt

$ export LC_CTYPE=C
$ ls -ltr
-rw-r--r-- 1 jaa jaa 0 2003-11-21 14:08 ??kk?nen.txt
-rw-r--r-- 1 jaa jaa 0 2003-11-21 14:15 ????kk??nen_2.txt

> You can also just think that some user A in a UTF-8 locale creates a
> file and some user B in an ISO-8859-1 locale wants to read the
> file...

Then you just lose?

I don't understand your point, there is no universal agreement what is
the default conversion for the charset of filenames, so how could subversion
mandate that?

BR, Jani

-- 
Jani Averbach
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Nov 22 01:00:15 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.