Go Job Hunting at the LQ Job Marketplace
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


LinkBack Search this Thread
Old 02-11-2010, 11:00 AM   #1
LQ Newbie
Registered: Jan 2007
Posts: 4

Rep: Reputation: 0
accents in the shell

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.

090812_Pr?sentationen.doc 090812_Pr??sentationen.doc
#ls | less
#md5sum *
35fdb2fbe70281078538da8108b2456b 090812_Präsentationen.doc
35fdb2fbe70281078538da8108b2456b 090812_Pr�sentationen.doc

#echo $LANG

Can anyone explain this? What should I use for a LANG variable that might fix this?

Old 02-11-2010, 11:47 AM   #2
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,772

Rep: Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294
UTF-8 is not a locale LANG variable. Run
locale -a
and select the one that matches your needs


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Spanish accents in OpenOffice 2.4 Raul Claro Linux - Desktop 3 04-11-2009 11:19 PM
setxkbmap no accents bobbens Linux - Software 0 03-17-2005 12:17 PM
Keyboard and accents... djib Mandriva 2 09-15-2004 12:07 PM
problems with accents and Ñs J0sep Red Hat 7 08-17-2004 04:05 PM won't let me type accents, why? bruno buys Linux - Software 3 07-17-2004 12:44 PM

All times are GMT -5. The time now is 07:59 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration