LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 04-04-2007, 10:09 PM   #1
amimusa
Member
 
Registered: Aug 2004
Location: Spain
Distribution: debian | ubuntu
Posts: 67

Rep: Reputation: 15
Question how to set the right charset (or desired)


Hello all,

My /etc/locale.gen is like this:
hadacs:~# cat /etc/locale.gen
es_ES ISO-8859-15
es_ES@euro ISO-8859-15
es_ES.UTF-8 UTF-8
en_US ISO-8859-1
en_US.UTF-8 UTF-8

/etc/environment like this:
hadacs:~# cat /etc/environment
LC_ALL=es_ES@euro
LANG=es_ES.UTF-8@euro
LANGUAGE=es_ES@euro
LC_TYPE=es_ES@euro

But when I type locale, i get this:
hadacs:~# locale
LANG=POSIX
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=

When i am login as user, it's ok, but when i am root, i can't type ''s' neither accents.

I would like to set locale properly, i mean iso-8859-15 or utf-8 instead posix, because i think this could solve the problem when i am root, buy i am not sure. Any help please ?

Thanks in advance.
 
Old 04-05-2007, 03:07 AM   #2
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 52
sarge/etch/sid
?
Always mention this information

/etc/default/locale is another place

I've installed language-env and problems like this are gone.
 
  


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
Unable to get desired Resolution. FooB Suse/Novell 1 11-03-2006 06:43 PM
Change the Trash Name to Different Desired Name on Desktop lennysokol Linux - General 2 05-16-2005 03:38 PM
Desired delay in potfix hotrodowner Linux - Software 2 03-11-2005 05:37 AM
SSH and desired interface stakhous Linux - Networking 1 02-05-2005 01:10 AM
Best distro for an HP laptop? Your opinions desired. Alvis Linux - Laptop and Netbook 0 10-17-2003 08:37 PM


All times are GMT -5. The time now is 11:14 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration