Does anyone have any idea how to get cmd.exe in Windows XP to correctly handle programs that want to output text in a Japanese character encoding?
I'm trying to use this 6502 assembler and it's giving me messages which I can't read and can't even determine the encoding of because it's munged them so badly. It's kind of annoying.
I'm aware this is
(
Read more... )
Comments 11
Reply
Reply
Do you have a link to the software? I may be able to identify it myself.
Reply
Reply
Start > Settings > Control Panel > Regional and Language Options > Languages > Install files for East Asian Languages
Start > Settings > Control Panel > Regional and Language Options > Advanced > Language for Non-Unicode Programs > Japanese
Also make sure the various Japanese encodings are checked in the Code Page Conversion Tables, especially 20932 (JIS).
Fiddling around on that control panel will give you the ability to turn your whole system Japanese (I really think so).
Now you can start a Command Prompt and it should show up with Japanese characters, including the yen instead of the backslash in paths. If that doesn't work, I think this community has some memories related to further Japanifying your computer.
(All this is assuming your program's using something sane like ShiftJIS. If it's some wacky NEC encoding from the dark ages, all bets are off.)
Reply
Reply
Dang. I thought XP was FINALLY the windows OS where the languages just worked, but I must admit I'd not needed to use cmd.exe with Japanese (I had cygwin for another reason before I ran some command line things).
Versions of windows before XP all had things even in the GUI or web experience where the language didn't work (long story) and the answer was always "you should have bought a PC from Japan (with bona-fide Japanese-version Windows) via the resellers."
Needless to say this region encoding and specifically market segmentation business has been a lifelong peeve.
I'm sorry I haven't a suggestion but this post has been interesting information for me.
Reply
My gut reaction would be Microsoft CP 932, but that's pretty much a wild-assed guess based on the notion that the assembler was originally coded for XP (and not ported sloppily from some other OS).
You might find you have some luck with the MODE command, specifically, the MODE CON CP SELECT= form, which changes the code page that cmd.exe pretends to use. You're probably using CP 437 right now, which is guaranteed to mangle CJK and any other DBCS text.
For a list of values to try, you might start from http://msdn2.microsoft.com/en-us/library/ms776446.aspx
Reply
Reply
Reply
Leave a comment