Re: which locale

2006-08-16 Thread Bill Marcum
On Mon, Aug 14, 2006 at 07:20:31PM +1000, Wei Hu wrote: > Thanks Mathias. I'm wondering that the filename is encoded with > gb18030 (not utf8). > > If that is indeed the case, it should be possible to rename the file with mv "$filename" $(echo "$filename" | recode gb18030..utf-8) You might try '

Re: which locale

2006-08-14 Thread Kelly Clowers
On 8/14/06, Mathias Brodala <[EMAIL PROTECTED]> wrote: Hello Wei Hu. > Actually I have no filename problems when I mount NTFS/VFAT > partitions. But I can NOT properly display some .torrent files which I > downloaded from the Internet. It may use non-utf8 codes such as > gb18030 or gb2812 code.

Re: which locale

2006-08-14 Thread Wei Hu
Thanks Mathias. I'm wondering that the filename is encoded with gb18030 (not utf8). -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: which locale

2006-08-14 Thread Mathias Brodala
Hello Wei Hu. > Actually I have no filename problems when I mount NTFS/VFAT > partitions. But I can NOT properly display some .torrent files which I > downloaded from the Internet. It may use non-utf8 codes such as > gb18030 or gb2812 code. I can not imagine how such a thing happened, but I can n

Re: which locale

2006-08-14 Thread Wei Hu
Actually I have no filename problems when I mount NTFS/VFAT partitions. But I can NOT properly display some .torrent files which I downloaded from the Internet. It may use non-utf8 codes such as gb18030 or gb2812 code. Can't Unicode handles non-Unicode filenames? On 8/13/06, Mathias Brodala <[EMA

Re: which locale

2006-08-13 Thread Mathias Brodala
Hello Wei Hu. > Which locale should I use? I am using en_US.utf8 as the default > locale. but when I do $ls to display non-English file name or > directory. I get something like ((invalid Unicode). That’s odd. I encountered no problems when I switched to *.UTF-8 myself. All filenames ke

Re: which locale

2006-08-13 Thread Linas Žvirblis
Wei Hu wrote: > Which locale should I use? I am using en_US.utf8 as the default > locale. but when I do $ls to display non-English file name or > directory. I get something like ((invalid Unicode). > > I'd like to use English as the default locale, but still can display > non-English fil