Re: Files named in Chinese characters couldn't display properly in Fedora 12

2010-09-05 Thread Roberto Ragusa
Sam Varshavchik wrote: > Quan Qiu writes: > >> Thanks a lot. You are very right about this problem! Now, Fedora can >> display Chinese file names properly although the font doesn't look >> pretty. :-D >> >> One more question, when I used Putty to SSH the server, all files >> named in Chinese could

Re: Files named in Chinese characters couldn't display properly in Fedora 12

2010-08-31 Thread Jens Petersen
- "Elliott Chapin" wrote: > DejaVu sans has nice ch. char. in OpenOffice. I forget whether this > started to happen before I upgraded to F13. The new Chinese font you are seeing may be wqy-zenhei-fonts. :) It is the default now for zh_CN. Dejavu has no Chinese coverage. -- users mailing li

Re: Files named in Chinese characters couldn't display properly in Fedora 12

2010-08-31 Thread Elliott Chapin
On 08/30/2010 11:59 PM, Quan Qiu wrote: > Thanks a lot. You are very right about this problem! Now, Fedora can > display Chinese file names properly although the font doesn't look > pretty. :-D > > One more question, when I used Putty to SSH the server, all files named > in Chinese couldn't display

Re: Files named in Chinese characters couldn't display properly in Fedora 12

2010-08-31 Thread Sam Varshavchik
Quan Qiu writes: Thanks a lot. You are very right about this problem! Now, Fedora can display Chinese file names properly although the font doesn't look pretty. :-D One more question, when I used Putty to SSH the server, all files named in Chinese couldn't display properly. Is that because o

Re: Files named in Chinese characters couldn't display properly in Fedora 12

2010-08-30 Thread Quan Qiu
Thanks for pointing me. I setup Putty to use UTF8, right now Chinese file names can be displayed :-) On Tue, Aug 31, 2010 at 12:31 PM, Ding Yi Chen wrote: > Perhaps you can set the putty to use Chinese font, > I used to use putty with Chinese BBS, should be all right. > > Or you may want to tr

Re: Files named in Chinese characters couldn't display properly in Fedora 12

2010-08-30 Thread Ed Greshko
On 08/31/2010 01:32 PM, Hiisi wrote: > Yes, I know. And enconv can be used exactly the same way that iconv > used in the proposed script. But you don't have to guess the encoding. Well, you may still have to guess if the sample size is small such that it can't accurately determine it. In looking

Re: Files named in Chinese characters couldn't display properly in Fedora 12

2010-08-30 Thread Hiisi
2010/8/31 Ed Greshko : >>> >>> Sometimes the hardest thing is to determine what encoding the file names >>> are in to start. :-( >>> <--SNIP--> > > Well...the man page says "enca -- detect and convert encoding of text > files" and we are talking about file names not the contents of the > file. I

Re: Files named in Chinese characters couldn't display properly in Fedora 12

2010-08-30 Thread Ding Yi Chen
Perhaps you can set the putty to use Chinese font, I used to use putty with Chinese BBS, should be all right. Or you may want to try pietty: http://ntu.csie.org/~piaip/pietty/ - "Quan Qiu" wrote: > Thanks a lot. You are very right about this problem! Now, Fedora can display > Chinese f

Re: Files named in Chinese characters couldn't display properly in Fedora 12

2010-08-30 Thread Quan Qiu
Thanks for pointing. I will look at the convmv tool On Tue, Aug 31, 2010 at 11:18 AM, Jens Petersen wrote: > > ls | while read filename > > do > > mv -i "$filename" "`echo \"$filename\" | iconv -f GB2312 -t UTF8`" > > done > > Or you can use the convmv tool (in fedora) to do that too. > -- > u

Re: Files named in Chinese characters couldn't display properly in Fedora 12

2010-08-30 Thread Ed Greshko
On 08/31/2010 11:54 AM, Hiisi wrote: > 2010/8/31 Ed Greshko : > <--SNIP--> >> Hadn't known about that command. Thanks >> >> Sometimes the hardest thing is to determine what encoding the file names >> are in to start. :-( >> >> -- >> A tall, dark stranger will have more fun than you. 葛斯克 愛德華

Re: Files named in Chinese characters couldn't display properly in Fedora 12

2010-08-30 Thread Quan Qiu
Thanks a lot. You are very right about this problem! Now, Fedora can display Chinese file names properly although the font doesn't look pretty. :-D One more question, when I used Putty to SSH the server, all files named in Chinese couldn't display properly. Is that because of the Putty doesn't sup

Re: Files named in Chinese characters couldn't display properly in Fedora 12

2010-08-30 Thread Hiisi
2010/8/31 Ed Greshko : <--SNIP--> > > Hadn't known about that command. Thanks > > Sometimes the hardest thing is to determine what encoding the file names > are in to start. :-( > > -- > A tall, dark stranger will have more fun than you. 葛斯克 愛德華 / 台北 > 市八德路四段 > > For that purpose there's a p

Re: Files named in Chinese characters couldn't display properly in Fedora 12

2010-08-30 Thread Ed Greshko
On 08/31/2010 11:18 AM, Jens Petersen wrote: >> ls | while read filename >> do >> mv -i "$filename" "`echo \"$filename\" | iconv -f GB2312 -t UTF8`" >> done > Or you can use the convmv tool (in fedora) to do that too. Hadn't known about that command. Thanks Sometimes the hardest thing is to

Re: Files named in Chinese characters couldn't display properly in Fedora 12

2010-08-30 Thread Jens Petersen
> ls | while read filename > do > mv -i "$filename" "`echo \"$filename\" | iconv -f GB2312 -t UTF8`" > done Or you can use the convmv tool (in fedora) to do that too. -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org

Re: Files named in Chinese characters couldn't display properly in Fedora 12

2010-08-30 Thread L
On Tue, Aug 31, 2010 at 12:51 PM, Sam Varshavchik wrote: > Quan Qiu writes: > >> « HTML content follows » >> Thanks for reply. >> >> 1.  Where did the imported files come from? >> >> Those files were copied from Windows XP through ssh. >> >> 2.  Are you certain that the file names are in UTF8 and

Re: Files named in Chinese characters couldn't display properly in Fedora 12

2010-08-30 Thread Sam Varshavchik
Quan Qiu writes: « HTML content follows » Thanks for reply. 1.  Where did the imported files come from? Those files were copied from Windows XP through ssh. 2.  Are you certain that the file names are in UTF8 and not, for example, GB2312? Most of files are .doc or .xls. Do you know how to co

Re: Files named in Chinese characters couldn't display properly in Fedora 12

2010-08-30 Thread Quan Qiu
Thanks for reply. 1. Where did the imported files come from? Those files were copied from Windows XP through ssh. 2. Are you certain that the file names are in UTF8 and not, for example, GB2312? Most of files are .doc or .xls. Do you know how to convert them to GB2312 ? On Tue, Aug 31, 201

Re: Files named in Chinese characters couldn't display properly in Fedora 12

2010-08-30 Thread Quan Qiu
Thanks for reply. I tried *yum groupinstall "Chinese Support"*, then restart the server, but didn't get any luck. On Tue, Aug 31, 2010 at 9:02 AM, Chris Smart wrote: > On Tue, Aug 31, 2010 at 10:57 AM, Quan Qiu wrote: > > Could anyone help me with this? I appreciate any response. > > Does this

Re: Files named in Chinese characters couldn't display properly in Fedora 12

2010-08-30 Thread Chris Smart
On Tue, Aug 31, 2010 at 10:57 AM, Quan Qiu wrote: > Could anyone help me with this? I appreciate any response. Does this help? yum groupinstall "Chinese Support" -c -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org

Re: Files named in Chinese characters couldn't display properly in Fedora 12

2010-08-30 Thread Ed Greshko
On 08/31/2010 08:57 AM, Quan Qiu wrote: > I installed fedora 12 (English version) on a Dell R300 server, as well > as SVN and Trac, after I imported files into Linux, all files named in > Chinese became black squares or question marks when listing them, and > there were additional strings "invalid

Files named in Chinese characters couldn't display properly in Fedora 12

2010-08-30 Thread Quan Qiu
I installed fedora 12 (English version) on a Dell R300 server, as well as SVN and Trac, after I imported files into Linux, all files named in Chinese became black squares or question marks when listing them, and there were additional strings "invalid encoding" attached after each filename. In addit