Files named in Chinese characters couldn't display properly in Fedora 12
Ed Greshko
Ed.Greshko at greshko.com
Tue Aug 31 03:30:47 UTC 2010
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 determine what encoding the file names
are in to start. :-(
--
A tall, dark stranger will have more fun than you. 葛斯克 愛德華 / 台北
市八德路四段
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20100831/ea1a049b/attachment.bin
More information about the users
mailing list