Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
UTF Help [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
lroy1978
Apprentice
Apprentice


Joined: 28 Jan 2006
Posts: 189
Location: Lille, France

PostPosted: Wed Jan 09, 2008 6:51 pm    Post subject: UTF Help [solved] Reply with quote

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 8:48 pm; edited 1 time in total
Back to top
View user's profile Send private message
USTruck
Guru
Guru


Joined: 21 Aug 2005
Posts: 423
Location: La Louviere (Belgique)

PostPosted: Wed Jan 09, 2008 8:02 pm    Post subject: Reply with quote

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
View user's profile Send private message
lroy1978
Apprentice
Apprentice


Joined: 28 Jan 2006
Posts: 189
Location: Lille, France

PostPosted: Wed Jan 09, 2008 8:48 pm    Post subject: Reply with quote

That sort it!

Thanks

Lee
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
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