LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   new debian user. need help with scim and locale. (https://www.linuxquestions.org/questions/debian-26/new-debian-user-need-help-with-scim-and-locale-309835/)

damienduff 04-05-2005 01:04 AM

new debian user. need help with chinese filenames
 
decided to make the plunge to debian from my suse.
apt-get is very good! updating the kernel to 2.6.8-2. was a piece of cake! :)

I have SCIM working in KDE3.3. but how do i display chinese filenames correctly?

the chinese filenames I saved from the internet are displayed as funny character inside my /home/user/ folder.

and chinesename.txt i created myself is displayed as ???

my .bashrc has
export LC_CTYPE="zh_CN.gb2312"

my locale is

LANG=en_US
LC_CTYPE=zh_CN.gb2312
LC_NUMERIC="en_US"
LC_TIME="en_US"
LC_COLLATE="en_US"
LC_MONETARY="en_US"
LC_MESSAGES="en_US"
LC_PAPER="en_US"
LC_NAME="en_US"
LC_ADDRESS="en_US"
LC_TELEPHONE="en_US"
LC_MEASUREMENT="en_US"
LC_IDENTIFICATION="en_US"
LC_ALL=

any advice is appreciated.

mcosta 04-05-2005 06:58 AM

First you need fonts with these characters installed. Normaly the package is called xfonts-xxx-big5. Then you should 'dpkg-reconfigure locales' and build the locales you'd want. In a mixed system like yours setting utf8 as default locale is a good idea.

damienduff 04-05-2005 01:16 PM

U the man! U the man! UTF8 fixed the problem! :D

LANG=en_US.UTF-8
LC_CTYPE=zh_CN.gb2312
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=


All times are GMT -5. The time now is 11:51 PM.