LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-09-2008, 11:26 AM   #1
nass
Member
 
Registered: Apr 2006
Location: Athens, Greece
Distribution: slackware, debian, ubuntu
Posts: 666

Rep: Reputation: 39
unicode problems in console? numbers instead of folder names


hello everyone,
i got some problem with unicode fonts in slack11..
i downloaded some discography of a greek artist from a greek torrent site using rtorrent.

i have all the files structured in a subdirectory of the artists name

but using ls doesnt not output all the folder names properly..

Quote:
drwxr-xr-x 2 nass users 752 2008-10-02 20:34 \324\347\362\ \354\335\361\341\362\ \352\341\351\ \364\347\362\ \355\375\367\364\341\362\ 1992/
drwxr-xr-x 2 nass users 1424 2008-10-02 20:34 \314\341\361\351\376\ -\ \312\341\355\334\ -\ \302\341\363\337\353\347\362\ \324\363\351\364\363\334\355\347\362\ -\ \306\371\355\364\341\355\336\ \307\367\357\343\361\334\366\347\363\347\ -\ 1994/
drwxr-xr-x 2 nass users 760 2008-10-02 20:34 \324\347\362\ \341\343\334\360\347\362\ \343\345\361\341\352\334\361\347\362\ 1996/
drwxr-xr-x 2 nass users 1224 2008-10-02 20:34 \324\341\ \354\345\364\341\356\371\364\334\ \364\361\341\343\357\375\344\351\341\ 2003/
drwxr-xr-x 2 nass users 784 2008-10-02 20:34 Arwmata\ anti\ gia\ naf8alinh\ -\ 1995/
drwxr-xr-x 2 nass users 896 2008-10-02 20:34 \313\334\366\365\361\341\ -\ \314\345\353\337\355\341\ \312\341\355\334\ -\ ashkhabad\ -\ 1998/
drwxr-xr-x 2 nass users 736 2008-10-02 20:34 Feggei\ alliwtika\ 2003/
drwxr-xr-x 2 nass users 760 2008-10-02 20:34 Gennaioi\ erwtes\ -\ 1997/
drwxr-xr-x 3 nass users 832 2008-10-02 20:34 Melina\ Kana\ 2001/
drwxr-xr-x 2 nass users 1152 2008-10-02 20:34 Melina\ Kana\ -\ JukeBox/
drwxr-xr-x 2 nass users 1080 2008-10-02 20:34 portrait\ 2000/
drwxr-xr-x 2 nass users 528 2008-10-02 20:34 symetoxes/
drwxr-xr-x 2 nass users 704 2008-10-02 20:34 Tragoydia\ gia\ thn\ Melina-Mamagkakhs\ 2003/
-rw-r--r-- 1 nass users 9397 2008-10-02 20:41 \324\321\301\303\317\325\304\311\301\ \303\311\301\ \324\307\ \314\305\313\311\315\301.txt
i set my locale in /etc/profile
LC_ALL=el_GR.utf8...

still no luck...

any clues as to what i can do to fix this ?

nass
 
Old 10-09-2008, 11:47 AM   #2
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,897

Rep: Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018
Have you tried setting $LANG too? I'm not 100% sure how the $LC_* and $LANG interact under glibc, but it might do the trick.
 
Old 10-09-2008, 11:55 AM   #3
nass
Member
 
Registered: Apr 2006
Location: Athens, Greece
Distribution: slackware, debian, ubuntu
Posts: 666

Original Poster
Rep: Reputation: 39
yes i changed LANG=el_GR.UTF-8
under /etc/profile.d/lang.sh

but it didnt do the trick
 
Old 10-09-2008, 12:45 PM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
I think you need convmv. Read this article to see its usage and from where you can d/l it.

Geia xara
 
Old 10-09-2008, 02:08 PM   #5
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Where do you get this output, it looks niiiice

Seriously, you are in Linux console when you see that ?
If yes, try:
Code:
setfont iso07.16
Then re-try a ls
If it does not output correctly the file names, try another font in:
/usr/share/kbd/consolefonts
(There is a README.Greek in this dir as well)
Once you find a good font, add it in /etc/rc.d/rc.font and make sure it is executable so it will be executed at boot process
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Why do some linux flavors go by code names rather than version numbers? e.g. Ubuntu BrianK Linux - General 14 08-06-2008 12:25 AM
LXer: Domain names as mobile phone numbers LXer Syndicated Linux News 0 02-23-2006 03:31 AM
Folder List With Numbers Over 100 In Filenames hazmatt20 Linux - General 14 01-09-2006 02:17 AM
Unicode file names Ygrex Linux - Software 2 10-28-2005 04:30 PM
Unicode file names!! shivasa Linux - General 3 10-16-2003 10:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration