LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 02-11-2010, 11:00 AM   #1
ccee
LQ Newbie
 
Registered: Jan 2007
Posts: 10
Blog Entries: 1

Rep: Reputation: 0
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
 
Old 02-11-2010, 11:47 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,224
Blog Entries: 1

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


Reply


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



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
OO.org won't let me type accents, why? bruno buys Linux - Software 3 07-17-2004 12:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:35 AM.

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