Sign up ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

If I'm in a directory that contains a file called "日本語.txt", dir will show the filename as "???.txt". I tried changing the command prompt font to Lucida Console, but then the name just shows up as a bunch of boxes. I know Lucida Console has Japanese characters, so why doesn't it work?

share|improve this question
See also… –  Sinan Ünür Feb 2 '10 at 2:40

1 Answer 1

That's a problem related to the CODE-PAGE used (think about it as a linux LOCALE). You set those up with the chcp command

CHCP [nnn]

nnn Specifies a code page number.

Type CHCP without a parameter to display the active code page number.

Try by setting one of the CPs commented here:

By the other side, if you use the Lucida Font in console, you can allways copy the garbled output and paste it in a word processor. The characters will be readable there.

share|improve this answer

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.