Files named in Chinese characters couldn't display properly in Fedora 12
Hiisi
very-cool at rambler.ru
Tue Aug 31 03:54:58 UTC 2010
2010/8/31 Ed Greshko <Ed.Greshko at greshko.com>:
<--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 powerful utility called enca. From enca man page:
If you are lucky enough, the only two things you will ever need to know
are: command
enca FILE
will tell you which encoding file FILE uses (without changing it), and
enconv FILE
will convert file FILE to your locale native encoding.
--
Hiisi.
Registered Linux User #487982. Be counted at: http://counter.li.org/
--
Spandex is a privilege, not a right.
More information about the users
mailing list