1836502 Members
2151 Online
110101 Solutions
New Discussion

polices

 
SOLVED
Go to solution
Julie YACINE
New Member

polices

hello,
I make some programs onto a hp station which turns with UH-UX 10.20.
The police on this station is american.american.hp8.
I'm french so my programs contain some accents...
I work with others persons who program onto pc whith Linux Fedora Core 1.
The police on these pc is fr_FR.UTF-8.
The problem is that accents are not well convert from one to the other.
Does anybody can help me to keep my accents?

regards,
Julie.
ps : sorry for my english...
6 REPLIES 6
bhavin asokan
Honored Contributor

Re: polices

hi,

i don't know how to set it.you can find the spcific locale (fr_FR.UTF-8) is available or not in your system by
locale -a command.

regds,
Stf
Esteemed Contributor
Solution

Re: polices

Hello,

to view your current settings type

# locale

after to modify your locale go to /etc/rc.config.d and edit LANG file

set LANG to the locale you want and restart your session.

If it doesn't work and if you can it's better rebooting your system...

Stf ;-)
Julie YACINE
New Member

Re: polices

hello evrybody,
thank you to help me!
the news are:
locale on my hp-ux gives:
LANG=
LC_CTYPE="C"
LC_COLLATE="C"
LC_MONETARY=C"
LC_NUMERIC="C"
LC_TYME="C"
LC_MESSAGES="C"
LC_ALL=
in /etc/rc.config.d/LANG everything is with coments.

with Linux:
LANG=fr_FR.UTF-8
LC_CTYPE="fr_FR.UTF-8"
LC_NUMERIC=POSIX
LC_TYME="fr_FR.UTF-8"
LC_COLLATE="fr_FR.UTF-8"
LC_MONETARY="fr_FR.UTF-8"
LC_MESSAGES="fr_FR.UTF-8"
LC_PAPER="fr_FR.UTF-8"
LC_NAME="fr_FR.UTF-8"
LC_ADDRESS="fr_FR.UTF-8"
LC_TELEPHONE="fr_FR.UTF-8"
LC_MEASUREMENT="fr_FR.UTF-8"
LC_IDENTIFICATION="fr_FR.UTF-8"
LC_ALL=
/etc/sysconfig/i18n contains:
LANG=fr_FR.UTF-8

i tried to change LANG onto Linux by doing export LANG=xxx to read an hp file with others polices (existing in locale -a) but i dont find the good one, so i will try to change onto the station...
I'll be back.
Stf
Esteemed Contributor

Re: polices

to change onto your station edit .profile and add this two lines:

LANG="xxx"
export LANG

Stf ;-)
Julie YACINE
New Member

Re: polices

thank you,
i changed LANG to fr_FR.iso885915@euro onto Linux and onto the station (by editing de .profile) and i can use accents on both!!
Julie YACINE
New Member

Re: polices

the variable LANG has to be the same onto the two station.
to know the posibilities to this variableyou have to use the locale command.