LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   non english letters (https://www.linuxquestions.org/questions/slackware-14/non-english-letters-42067/)

bynaar 01-19-2003 06:22 PM

non english letters
 
Hello !

I have this problem:
when browsing my mounted FAT32 partitions, all folder and filenames containing non english letters are not showing correctly.
This is regardless of running in console or X.

Is is esay to fix , or do one have to live with it ?

those who waits , always waits to long . . .
I want my KDE 3.1 . . . NOW !:)

Martin37 01-19-2003 06:37 PM

I had to put a file in /root or in the user's home directory to be able to use and see the éé â and ç .....

the file /root/.inputrc (don't forget the .)
contains:

set convert-meta off
set meta-flag on
set input-meta on
set output-meta on

then I had to add in /etc/profile
export LESSCHARSET=latin1 and
export LANG=fr

Now something like that could work for you and you might have to do someting with the default font because not all the fonts can show all characters........ try:" man setfont " for more information ......
There mignt be another solution with unicode ("man utf-8 "can give you ideas too)

Martin37 01-20-2003 11:13 AM

I checked the man page for less and you should have look at it too...towards the end of the page they explain what to do with the env variable LESS and LESSCHARSET there is something specific to be done for "dos" among other things...
Anyway....i can't not guess what language you are using and what locale and env you should define...

bynaar 01-20-2003 11:33 AM

ehmm . .

that 'man less' is giving me headache . . . :)

Is there some files to be edited or what ?

bynaar 01-20-2003 01:12 PM

Problem solved !

added this just after 'defaults' in fstab:

iocharset=iso8859-1

End of transmission .

bynaar 01-20-2003 07:40 PM

Not End of transmission . . .

Ehrmm . .

Problem not solved !

added this just after 'defaults' in fstab:

iocharset=iso8859-1

It now works as expected while running x and mc (midnight commander).
however, it does not work when running a konsole, inside or outside X

Any ideas ?

Martin37 01-21-2003 12:10 AM

I still think it would be better to define an environment variable in /etc/profile e.g. LANG= ??? and LESSCHARSET=iso8859-1 equivalent anyway to LESSCHARSET=latin1 .... all depends of the language you are using too...... it should look like
export LANG=?????
export LESSCHARSET=?????

there should already be a few lines in your /etc/profile with export at the beginning of a line

Then, the man page is not that difficult to understand and it explains what to do to read things in "DOS" among other things

bynaar 01-21-2003 10:33 AM

Do you mean like this:

new entrys in /etc/profile:

# Set the values for some environment variables:
export foo
export foo
export foo
export foo
export foo
export LESSCHARSET=iso8859-1
export LANG=iso8859-1

Martin37 01-21-2003 12:23 PM

the LANG variable should be something like this:
= a few examples=
LANG=sl for Slovak
LANG=fr_FR for French in France
LANG=lv_LV for Latvian
LANG=el_GR for Greek
LANG=de_AT for German in Austria
LANG=de_CH for German in Switzerland
LANG=de_DE for German in Germany

of course you have to put only one and it has to correspond to the language you ar using... If you dont like the man pages there is always the possibility to read the HOWTOS

http://www.tldp.org/HOWTO/HOWTO-INDEX/howtos.html


All times are GMT -5. The time now is 11:39 AM.