Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ls and UTF-8 [NOT 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
Fourbissime
n00b
n00b


Joined: 24 May 2003
Posts: 60

PostPosted: Wed Dec 06, 2006 10:47 am    Post subject: ls and UTF-8 [NOT SOLVED] Reply with quote

Hi there.

I installed my system to have full unicode support (and native language). What I did :
* selected the good options in the kernel (default utf8 in nls)
* the locales generated
* the /etc/env.d/02locale file with proper values (fr_FR.utf8 everywhere)
* the whole system with unicode and nls flags
* my filenames are in unicode
* my rc.conf says UNICODE="yes"
* my terminal font is "terminus"

Here is what i've got, in console or in a uxterm :

typing "ls" in a directory,
* japanese characters are replaced by weird dotted squares
* it goes the same for hangul (corean) characters
* ... whereas icelandic characters are perfectly displayed

but if i type "ls | less", everything is perfectly displayed !

moreover, if I ssh my machine from a computer with good unicode support, everything works like a charm.

I tried to add the cjk flag to my system, but it is no better.

And another thing : extended characters in french man pages are broken (the usual way, with two weird characters instead of one, so i guess it's something else)

Hope someone will have an idea about all that ...

take care


Last edited by Fourbissime on Sat Dec 09, 2006 10:15 am; edited 1 time in total
Back to top
View user's profile Send private message
KRF
Tux's lil' helper
Tux's lil' helper


Joined: 17 Jun 2006
Posts: 124
Location: Germany

PostPosted: Wed Dec 06, 2006 2:15 pm    Post subject: Reply with quote

Maybe it's just a font problem. You say it works when sshing the machine, but in uxterm or console it doesn't. Just try to change the consolefonts.
Further: Are you using Framebuffer? Which font do you have in your (u)xterm?
_________________

Gentoo Linux, running kde-3.5
CPU: i686 Intel P4 2.80GHz | RAM: 2048MB DDR
Profile: gentoo-sources-2.6.23*, gcc-4.1*, portage-2.1.3* (2007.0)

Please add [SOLVED] to your message title if your problem is solved.
Back to top
View user's profile Send private message
swimmer
Veteran
Veteran


Joined: 15 Jul 2002
Posts: 1330
Location: Netherlands

PostPosted: Wed Dec 06, 2006 2:34 pm    Post subject: Reply with quote

He said it already: Terminus (which should support Unicode as far as I know)

I have the same problem btw. and I tried nearly every font on my system (and I even have unifont installed which *has* to know Unicode) but still no go :(

There has to be something we are missing ...

Greetz
swimmer

EDIT: I should add that I use rxvt-unicode ...


Last edited by swimmer on Wed Dec 06, 2006 4:06 pm; edited 1 time in total
Back to top
View user's profile Send private message
bludger
Guru
Guru


Joined: 09 Apr 2003
Posts: 389

PostPosted: Wed Dec 06, 2006 2:55 pm    Post subject: Reply with quote

Just because a font supports unicode, doesn't necessarily mean that it includes all unicode characters in all languages.

Nevertheless, if less works on the same terminal, then it is probably something to do with the application. hmm.
Back to top
View user's profile Send private message
swimmer
Veteran
Veteran


Joined: 15 Jul 2002
Posts: 1330
Location: Netherlands

PostPosted: Wed Dec 06, 2006 3:57 pm    Post subject: Reply with quote

bludger wrote:
Just because a font supports unicode, doesn't necessarily mean that it includes all unicode characters in all languages.
[...]

True - if we are talking about *one* font ... but *all* fonts I've tested (even the ones which proclaim to display Unicode properly) don't do that! Hmmmm ...

Greetz
swimmer
Back to top
View user's profile Send private message
sonicbhoc
Veteran
Veteran


Joined: 24 Oct 2005
Posts: 1805
Location: In front of the computer screen

PostPosted: Wed Dec 06, 2006 4:00 pm    Post subject: Reply with quote

Odd. I never noticed it, but I've got the same problem, 'cept the Japanese doesn't show up at all. It works perfectly in a kde terminal though.
Back to top
View user's profile Send private message
Fourbissime
n00b
n00b


Joined: 24 May 2003
Posts: 60

PostPosted: Wed Dec 06, 2006 6:05 pm    Post subject: Reply with quote

In a way I'm happy to see I'm not alone to have this problem.
Back to top
View user's profile Send private message
swimmer
Veteran
Veteran


Joined: 15 Jul 2002
Posts: 1330
Location: Netherlands

PostPosted: Thu Dec 07, 2006 12:33 pm    Post subject: Reply with quote

I would be even happier if I'd see someone *NOT* having this problem 8-)
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