[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to set user locale, instead of global locale?



On Mon, Dec 15, 2008 at 11:50:49AM -0200, Mauricio wrote:
> Hi,

Hi!

>
> Do you know how can I change my locale as
> user of a remote system (with only terminal
> access)? The locale I want is already available
> on the system, and I tried to change mine
> setting LC_ALL to the proper value in my shell
> initialization, but it gets reset somehow.
>

  You can read the Debian Reference:

  http://www.debian.org/doc/manuals/reference/ch-tune.en.html#s-env-locale

  In 9.7.8 say:

,----
|   9.7.8 Example for France with Euro sign (ISO-8859-15)
| 
|   Add the following lines to ~/.bash_profile:
| 
|      LANG=fr_FR@euro
|      export LANG
|      LC_CTYPE=fr_FR@euro
|      export LC_CTYPE
`----



> Thanks for your help,
> Maurício

 Deica.

-- 
Porqu�oitar e matar, se podes amar e sonhar

/"\
\ /  CAMPANHA DA FITA ASCII - CONTRA MAIL HTML
 X   ASCII RIBBON CAMPAIGN - AGAINST HTML MAIL
/ \


Reply to: