Filename Charset issue with Terminal and Nautilus
Carthik Sharma
carthik at gmail.com
Fri Dec 15 19:31:19 UTC 2006
Hi,
I have a few filenames that never display properly in Nautilus and the
terminal. In Nautilus, rectangles are shown instead of the character.
In the terminal a "^" is shown instead of the character. I thought
perhaps the encoding is latin and I need to change it to UTF-8, so I
tried using convmv to do this. However, convmv says the names are
already UTF-8. So then I think maybe my Locale settings are wrong, but
UTF-8 is all over my locale settings. The following is an example:
carthik at gabriel:/media/IOMEGA_HDD/music $ convmv -f iso-8859-1 -t utf8 H*sker*
Starting a dry run without changes...
Skipping, already UTF-8: ./Hsker D
No changes to your files done. Use --notest to finally rename the files.
carthik at gabriel:/media/IOMEGA_HDD/music $ echo $LOCALE
carthik at gabriel:/media/IOMEGA_HDD/music $ locale
LANG=en_US.UTF-8
LANGUAGE=en_US:en_GB:en
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
So,
1) How do I get the characters to display properly, what am I missing?
2) How can I find out the encoding used in a filename - is there a
utility that will tell me " this filename is utf-8 and that one is
latin-1"?
Thank you for your help,
Carthik.
--
Ph.D. Candidate
University of Central Florida
Homepage: http://carthik.net
More information about the ubuntu-users
mailing list