<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Times New Roman; font-size: 12pt; color: #000000'>Perhaps you can set the putty to use Chinese font,<br>I used to use putty with Chinese BBS, should be all right.<br><br>Or you may want to try pietty:<br>http://ntu.csie.org/~piaip/pietty/<br><br>----- "Quan Qiu" &lt;quan.qiu.yz@gmail.com&gt; wrote:
<br>&gt; 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<br>&gt; <br>&gt; 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 support Chinese? If it is the case, which SSH tools do you suggest?<br>&gt; 
<br>&gt; <br>&gt; <br>&gt; <br>&gt; <div class="gmail_quote">&gt; On Tue, Aug 31, 2010 at 10:51 AM, Sam Varshavchik <span dir="ltr">&lt;<a href="mailto:mrsam@courier-mta.com" target="_blank">mrsam@courier-mta.com</a>&gt;</span> wrote:<br>&gt; <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Quan Qiu writes:<br>&gt; 
<br>&gt; 
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
« HTML content follows »<div class="im">&gt; <br>&gt; 
Thanks for reply.<br>&gt; 
<br>&gt; 
1. &nbsp;Where did the imported files come from?<br>&gt; 
<br>&gt; 
Those files were copied from Windows XP through ssh.<br>&gt; 
<br>&gt; 
2. &nbsp;Are you certain that the file names are in UTF8 and not, for<br>&gt; 
example, GB2312?<br>&gt; 
<br>&gt; 
Most of files are .doc or .xls. Do you know how to convert them to GB2312 ?<br>&gt; 
</div></blockquote>
<br>&gt; 
It's not the contents of your files being in UTF8, GB2312, or another character set.<br>&gt; 
<br>&gt; 
It's the filenames themselves being coded in the UTF8 or GB2312 character set.<br>&gt; 
<br>&gt; 
You say you've set your system locale to zh_CN.UTF8. This indicates that your filenames must be coded in UTF8 to be shown correctly on your terminal.<br>&gt; 
<br>&gt; 
Try this, in the directory with your files:<br>&gt; 
<br>&gt; 
ls -l | iconv -f GB2312 -t UTF8<br>&gt; 
<br>&gt; 
If you now see your files named in proper Chinese characters, this means that your filenames are coded in GB2312. You simply need to rename these files from GB2312 to UTF8. Probably something like this:<br>&gt; 
<br>&gt; 
ls | while read filename<br>&gt; 
do<br>&gt; 
mv -i "$filename" "`echo \"$filename\" | iconv -f GB2312 -t UTF8`"<br>&gt; 
done<br>&gt; 
<br>&gt; 
<br>&gt; --<br>&gt; 
users mailing list<br>&gt; 
<a href="mailto:users@lists.fedoraproject.org" target="_blank">users@lists.fedoraproject.org</a><br>&gt; 
To unsubscribe or change subscription options:<br>&gt; 
<a href="https://admin.fedoraproject.org/mailman/listinfo/users" target="_blank">https://admin.fedoraproject.org/mailman/listinfo/users</a><br>&gt; 
Guidelines: <a href="http://fedoraproject.org/wiki/Mailing_list_guidelines" target="_blank">http://fedoraproject.org/wiki/Mailing_list_guidelines</a><br>&gt; 
<br>&gt; </blockquote></div><br>&gt; 
<br>&gt; -- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
<br><br>-- <br>Ding-Yi Chen<br>Software Engineer<br>Internationalization Group<br>Red Hat, Inc.<br><br>Register now for Red Hat Virtual Experience, December 9.<br>Enterprise Linux, virtualization, cloud, and more.<br>http://www.redhat.com/virtualexperience<br></div></body></html>