accents in the shell
Hi
I'm trying to archive a bunch of files originally written on several platforms and in several languages. I'm using the bash shell and the GNOME Terminal 2.28.1 . I have a directory containing 2 files and depending on which command I use I get three possible representations of the accent ä in the filename. #ls 090812_Pr?sentationen.doc 090812_Pr??sentationen.doc #ls | less 090812_Pr<84>sentationen.doc 090812_Pr<C3><A4>sentationen.doc #md5sum * 35fdb2fbe70281078538da8108b2456b 090812_Präsentationen.doc 35fdb2fbe70281078538da8108b2456b 090812_Pr�sentationen.doc #echo $LANG UTF-8 Can anyone explain this? What should I use for a LANG variable that might fix this? Thanks |
UTF-8 is not a locale LANG variable. Run
Code:
locale -a |
All times are GMT -5. The time now is 04:04 PM. |