Results 1 to 8 of 8

Thread: Windows XP and Chinese filenames.

  1. #1
    I can't get no sleep
    Join Date
    Jul 2003
    Location
    123 Fake Street, London
    Posts
    811
    Thanks
    35
    Thanked
    3 times in 3 posts

    Question Windows XP and Chinese filenames.

    Hello,

    I’ve been setting up a computer for a Chinese friend. I installed her Windows XP with the East Asian language pack support. She has CDs containing documents and files brought back from China. When I try to read these CDs, the directory and filenames are not displayed using Chinese symbols, instead it just displays garbage. Chinese websites can be viewed fine. Does anyone know what I need to do in order to get the filenames to display correctly? She has a Chinese version of Windows 98 on another computer and the CD directories and filenames display correctly on that machine.

    Thanks,

    Anders.
    "Keyboard missing - press F3 to continue" Message seen on an Apricot PC.
    "To start press any key. Where's the any key?" Homer Simpson.
    Hexus Trust

  2. #2
    Cable Guy Jonny M's Avatar
    Join Date
    Jul 2003
    Location
    Loughborough Uni
    Posts
    4,263
    Thanks
    0
    Thanked
    4 times in 1 post
    You probably need the Chinese version of Windows XP rather than the English version with the East Asian language pack.

    However, I might be talking crap.

  3. #3
    Vive le pants! directhex's Avatar
    Join Date
    Jul 2003
    Location
    /dev/urandom
    Posts
    16,313
    Thanks
    183
    Thanked
    828 times in 541 posts
    • directhex's system
      • Motherboard:
      • Gigabyte EX58-UD5
      • CPU:
      • Intel Core i7 920
      • Memory:
      • 12GiB Kingston DDR3
      • Storage:
      • Kingston HyperX 240GB
      • Graphics card(s):
      • Zotac GeForce GTX 660
      • PSU:
      • Zalman ZM850-HP
      • Case:
      • Lian-Li B25
      • Operating System:
      • Ubuntu 14.04
      • Monitor(s):
      • Dell U2713HM
      • Internet:
      • BT Infinity
    the problem here lies in old tech mixed with new tech.

    windows 9x (i.e. msdos) supports a very limited number of different characters, and in order to increase the number, the system can be set to use a different character set, called a codepage, depending on location. the most common one you or i would use is cp850, the latin-1 character set. that means that the letter "a" for example is stored a certain way, and that binary value is decoded the same way.

    chinese has a number of differnrt codepages depending on what needs to be used, cp950 being most popular. that means that IT saves using a particular codepage, and loads that same codepage. if you try viewing a folder of files made in cp850 under cp950, it'll be screwed, and vise versa

    windows nt 5 does away with codepages usually, as it uses unicode - a moder, supports-everything standard. however, the old files will still be written with the old codepage, and would need converting to unicode in order to function.

    try the following:

    start->run->cmd; "chcp 950"; D:\ (where D is the letter of the cd drive); dir

    if my theory is correct, the files should be listed correctly - or at least, with different garbage. it might not be the 950 codepage, but another one entirely. if you then copy all the files to a local ntfs disk (e.g. copy * c:\badger") then it _SHOULD_ do all the translation for you.

    i've run into codepage strife before when trying to read files on my linux box from my windows server without specifying which codepage the windows machine uses.

  4. #4
    Vive le pants! directhex's Avatar
    Join Date
    Jul 2003
    Location
    /dev/urandom
    Posts
    16,313
    Thanks
    183
    Thanked
    828 times in 541 posts
    • directhex's system
      • Motherboard:
      • Gigabyte EX58-UD5
      • CPU:
      • Intel Core i7 920
      • Memory:
      • 12GiB Kingston DDR3
      • Storage:
      • Kingston HyperX 240GB
      • Graphics card(s):
      • Zotac GeForce GTX 660
      • PSU:
      • Zalman ZM850-HP
      • Case:
      • Lian-Li B25
      • Operating System:
      • Ubuntu 14.04
      • Monitor(s):
      • Dell U2713HM
      • Internet:
      • BT Infinity
    note that if you do file, load in notepad, it lists "encoding", which relates to the internal format a file uses - ANSI for codepage-based system,s unicode or utf-8 for modern systems.

  5. #5
    I can't get no sleep
    Join Date
    Jul 2003
    Location
    123 Fake Street, London
    Posts
    811
    Thanks
    35
    Thanked
    3 times in 3 posts
    I think I understand your first post DirectHex. So if she has a Chinese version of Windows XP, installing it won’t solve the problem if the files were burnt on an older system using these codepages?

    I do not understand you second post though, could you expand on what I would be doing with notepad a bit more please?

    Thanks for the replies.
    "Keyboard missing - press F3 to continue" Message seen on an Apricot PC.
    "To start press any key. Where's the any key?" Homer Simpson.
    Hexus Trust

  6. #6
    Goron goron Kumagoro's Avatar
    Join Date
    Mar 2004
    Posts
    2,814
    Thanks
    18
    Thanked
    98 times in 82 posts
    Using a proper Chinese version of win xp will put everything i.e. menus etc into chinese and file names will be displayed properly.

  7. #7
    Vive le pants! directhex's Avatar
    Join Date
    Jul 2003
    Location
    /dev/urandom
    Posts
    16,313
    Thanks
    183
    Thanked
    828 times in 541 posts
    • directhex's system
      • Motherboard:
      • Gigabyte EX58-UD5
      • CPU:
      • Intel Core i7 920
      • Memory:
      • 12GiB Kingston DDR3
      • Storage:
      • Kingston HyperX 240GB
      • Graphics card(s):
      • Zotac GeForce GTX 660
      • PSU:
      • Zalman ZM850-HP
      • Case:
      • Lian-Li B25
      • Operating System:
      • Ubuntu 14.04
      • Monitor(s):
      • Dell U2713HM
      • Internet:
      • BT Infinity
    chinese windows xp should use the correct codepage by default, so everything should appear properly.

    though i'm curious to know if i was right. have you done the chcp test?

  8. #8
    I can't get no sleep
    Join Date
    Jul 2003
    Location
    123 Fake Street, London
    Posts
    811
    Thanks
    35
    Thanked
    3 times in 3 posts
    No, I will probably be going round on Thursday. I will post here to let you know how I get on. In the mean time, if anyone has any more thoughts on the subject I’d be very grateful? I would rather not have to install the Chinese version of XP, if she even has one that is. It’s time consuming and I cannot read Chinese.
    "Keyboard missing - press F3 to continue" Message seen on an Apricot PC.
    "To start press any key. Where's the any key?" Homer Simpson.
    Hexus Trust

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •