| View previous topic :: View next topic |
| Author |
Message |
lroy1978 Tux's lil' helper

Joined: 28 Jan 2006 Posts: 135 Location: Lille, France
|
Posted: Wed Jan 09, 2008 1:51 pm Post subject: UTF Help [solved] |
|
|
Hi
I am trying to configure to Gentoo to work with UTF8 by following this guide :
http://www.gentoo.org/doc/en/utf-8.xml
I'm having some problems. I'm am trying to use the French character set, when accessing my Gentoo server from Putty (Configured to UTF8) I can type and see the words displayed correctly with the right accents in the console. If however I create a file using accents in the filename, when doing an 'ls' I see question marks where the accents should be. If I then view the contents of the directory on a windows computer via samba, the name appears correctly.
Here is the output of
locale -a
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_COLLATE to default locale: No such file or directory
C
POSIX
en_US.utf8
fr_FR@euro
And...
locale
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=fr_FR.UTF-8
LC_CTYPE="fr_FR.UTF-8"
LC_NUMERIC="fr_FR.UTF-8"
LC_TIME="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=
I'm stuck, please help!
Cheers,
Lee
Last edited by lroy1978 on Wed Jan 09, 2008 3:48 pm; edited 1 time in total |
|
| Back to top |
|
 |
USTruck Tux's lil' helper


Joined: 21 Aug 2005 Posts: 79 Location: Belgium
|
Posted: Wed Jan 09, 2008 3:02 pm Post subject: |
|
|
hello,
You specify one language doens't exist
- "locale -a" list all installed locale
- "locale" list required locale defined under /etc/env.d/02locale
Under /etc, create locale.gen file with all language like
fr_FR ISO-8859-1
fr_FR@euro ISO-8859-15
fr_FR.UTF-8 UTF-8
en_US.UTF-8 UTF-8
Type under console
locale-gen
source /etc/profile
env-update
locale-gen create all locale defined on /etc/locale.gen
Re-read http://www.gentoo.org/doc/en/utf-8.xml |
|
| Back to top |
|
 |
lroy1978 Tux's lil' helper

Joined: 28 Jan 2006 Posts: 135 Location: Lille, France
|
Posted: Wed Jan 09, 2008 3:48 pm Post subject: |
|
|
That sort it!
Thanks
Lee |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|