Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When i install DB2 express-C in windows xp platform, the command windows cann't display correct chinese character, replace with wrong code display such as "??##".

How can i fix it.

share|improve this question

Windows Console windows don't support UTF-8. They can only show the "OEM" codepage, like in MS-DOS, or - rarely - UTF-16 Unicode.

You can try using this command

C:> chcp 65001
before running your program - 65001 is the "codepage" for UTF-8. But this is kind of an ugly hack, and only affects the window it's executed on.

share|improve this answer has all of their publicly available patches listed at this FTP site. No log in is necessary.

IBM is pretty good about getting language packs out. It is, however, a pretty large ftp site. You may want to start in the software section.

Good luck.

share|improve this answer

Also, in addition to the poster above, if you choose the wrong font for your console, then you are limited in the display of characters. Use a commercial unicode font and you should have little trouble (but be aware that some "hand-coded" fonts maynot have all character positions filled in).

share|improve this answer
The default font, Lucida Console, has a pretty rich selection of Unicode characters. – grawity Jun 2 '09 at 6:45

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.