chinese characters in windows xp to debian

2006-08-04 Thread KE Liew
Hi, I'm transfering some songs from Windows to Debian, but I can't see the chinese characters, only ?. I have installed the following fonts. ttf-arphic-bkai00mp ttf-arphic-bsmi00lp ttf-arphic-gbsn00lp ttf-arphic-gkai00mp ttf-arphic-ukai ttf-arphic-uming ttf-baekmuk ttf-bitstream-vera ttf-dej

Re: chinese characters in windows xp to debian

2006-08-04 Thread Carlos Z.F. Liu
On Fri, Aug 04, 2006 at 01:13:39PM +0200, KE Liew wrote: > Hi, > > I'm transfering some songs from Windows to Debian, but I can't see the > chinese characters, only ?. I have installed the following fonts. > [snip] > > Are there anymore fonts that I need to install? Maybe Windows Chinese > T

Re: chinese characters in windows xp to debian

2006-08-04 Thread KE Liew
I transfered using winscp. I've tried to rar, zip and tar it, but still not possible to keep the encodings correctly. another way i've tried is to transfer it to my usb stick, then mount it on my debian (with no special mount options except for -t vfat), and still can't display the characters. i

Re: chinese characters in windows xp to debian

2006-08-04 Thread William Xu
"KE Liew" <[EMAIL PROTECTED]> writes: > I transfered using winscp. I've tried to rar, zip and tar it, but > still not possible to keep the encodings correctly. another way i've > tried is to transfer it to my usb stick, then mount it on my debian > (with no special mount options except for -t vfat

Re: chinese characters in windows xp to debian

2006-08-04 Thread KE Liew
This is what I have in my locales eXiStEnCe:~# cat /etc/locale.gen en_US ISO-8859-1 en_GB ISO-8859-1 en_GB.ISO-8859-15 ISO-8859-15 en_GB.UTF-8 UTF-8 en_US.UTF-8 UTF-8 ja_JP.EUC-JP EUC-JP ja_JP.UTF-8 UTF-8 ko_KR.EUC-KR EUC-KR ko_KR.UTF-8 UTF-8 th_TH TIS-620 th_TH.UTF-8 UTF-8 zh_CN GB2312 zh_CN.GB

Re: chinese characters in windows xp to debian

2006-08-04 Thread LI Daobing
On 8/4/06, KE Liew <[EMAIL PROTECTED]> wrote: This is what I have in my locales eXiStEnCe:~# cat /etc/locale.gen en_US ISO-8859-1 en_GB ISO-8859-1 en_GB.ISO-8859-15 ISO-8859-15 en_GB.UTF-8 UTF-8 en_US.UTF-8 UTF-8 ja_JP.EUC-JP EUC-JP ja_JP.UTF-8 UTF-8 ko_KR.EUC-KR EUC-KR ko_KR.UTF-8 UTF-8 th_TH

Re: chinese characters in windows xp to debian

2006-08-04 Thread William Xu
"KE Liew" <[EMAIL PROTECTED]> writes: > This is what I have in my locales > > eXiStEnCe:~# cat /etc/locale.gen > en_US ISO-8859-1 [...] > Am not sure what else I have missed. No, run this command in a shell, and show us the output, $ locale -- William I'm a Lisp variable -- bind me! --

Re: chinese characters in windows xp to debian

2006-08-04 Thread Arne Götje (高盛華)
On Friday 04 August 2006 23:52, KE Liew wrote: > This is what I have in my locales > > eXiStEnCe:~# cat /etc/locale.gen No, that's not what he meant... if you run the command 'locale' in your terminal window, what does it print? Mine looks like this: [EMAIL PROTECTED]:~$ locale LANG=en_US.UTF-8

Re: chinese characters in windows xp to debian

2006-08-04 Thread KE Liew
On 8/4/06, LI Daobing <[EMAIL PROTECTED]> wrote: try: 1. sudo apt-get install convmv 2. convmv -f gbk -t utf8 * looks like a good app, will do that once this is sorted :) On 8/4/06, William Xu <[EMAIL PROTECTED]> wrote: No, run this command in a shell, and show us the output, $ locale So

Re: chinese characters in windows xp to debian

2006-08-04 Thread Ming Hua
On Fri, Aug 04, 2006 at 09:19:03PM +0200, KE Liew wrote: > > On 8/4/06, William Xu <[EMAIL PROTECTED]> wrote: > >No, run this command in a shell, and show us the output, > > > >$ locale > > > Sorry, my bad :/ This it the output. > > eXiStEnCe:~# locale > LANG=en_GB.UTF-8 [snipped] > > On 8/4/06,

Re: chinese characters in windows xp to debian

2006-08-04 Thread KE Liew
On 8/4/06, Ming Hua <[EMAIL PROTECTED]> wrote: You mentioned that you tried to use a USB flash drive to copy the files and it didn't work. I assume the flash drive is formatted in Windows (therefore should have some kind of FAT filesystem), in that case you can use Arne's advice above, use "moun

Re: chinese characters in windows xp to debian

2006-08-04 Thread KE Liew
Sorry, I've looked back again in my Thunar, and it doesn't display properly. Only in terminal the chinese character show, but not in my thunar. Korean characters display correctly in both the terminal and thunar, so it's a problem with thunar? (Thunar is a file manager for xfce desktop environmen

Re: chinese characters in windows xp to debian

2006-08-04 Thread Ming Hua
On Fri, Aug 04, 2006 at 11:15:31PM +0200, KE Liew wrote: > On 8/4/06, Ming Hua <[EMAIL PROTECTED]> wrote: > >You mentioned that you tried to use a USB flash drive to copy the files > >and it didn't work. I assume the flash drive is formatted in Windows > >(therefore should have some kind of FAT fi

Re: chinese characters in windows xp to debian

2006-08-05 Thread KE Liew
On 8/5/06, Ming Hua <[EMAIL PROTECTED]> wrote: Would you elaborate what is the problem with the current solution? In my opinion it's pretty simple and works well for transfering small files. For instance, tranfering through ssh protocol. sshd_config doesn't seem to have an option where I can s

Re: chinese characters in windows xp to debian

2006-08-05 Thread 韓達耐
> On 8/4/06, LI Daobing <[EMAIL PROTECTED]> wrote: > > try: > > > > 1. sudo apt-get install convmv > > 2. convmv -f gbk -t utf8 * > > > looks like a good app, will do that once this is sorted :) You might try to run the following shell command in your directory: $ for filename in *; do echo

Re: chinese characters in windows xp to debian

2006-08-05 Thread KE Liew
On 8/5/06, 韓達耐 Danai SAE-HAN <[EMAIL PROTECTED]> wrote: You might try to run the following shell command in your directory: $ for filename in *; do echo "Renaming $filename into `printf "$filename" | iconv -f GB18030`"; mv --verbose "$filename" "`printf "$filename" | iconv -f GB18030`

Re: chinese characters in windows xp to debian

2006-08-09 Thread KE Liew
My file manager displays differently from my terminal. It doesn't show most of the chinese characters. The solution to the problem is to set G_FILENAME_ENCODING to UTF-8. I'm not even sure why it isn't set by default. But it works. I've also digged around that some filesystem need the -o option i