Hi,
I have an application developed on English environment and I am sure the
author had never had such an anticipation using it in east Asia.
But now we do use this application on Japanese version windows 2000.
On one of its tools, there is a input box where you can input something
to send to another process.
I tried inputing some Japanese words, but when I completed inputing and
push the [Enter] key, the inputed words became some garbage characters.So,
I know that this tool may be a ANSI application and the font for that
input box may be an English font such as Arial.
Then, I sent out those Japanese words. When I went to see sending log
file, those Japanese words were displayed correctly. (It proved my
conclusion that the application is running in an ANSI environment and both
its input and output are encoded as ANSI encoded string.)
But during this process, I found an annoying problem.
For example, I input a Japanese words '好', whose shift-jis encoded
binary is 0x8D44, Unicode encoded binary is 0x597D. After I completed
inputing, what is displayed in that input box is a pane and a character
'D', two characters in font 'Courier'. May be the font for that input box
is 'Courier'.
My question:
1.Is font 'Courier' a Unicode font? Can it be used to display ANSI
encoded characters?
2.Why does windows use ANSI encoded binary 0x8D44,not Unicode encoded
binary 0x597D to resolve what will display in that input box? As far as
I know, windows 2000 uses Unicode as its internal encoding.

Signature
Tony Zhou
Chris Y - 20 Apr 2006 01:40 GMT
Hi, I think I am facing the same problem as you. I find that how it is
encoded depends on what else is typed in the Input box. I have just posted
a message on this.
> Hi,
>
[quoted text clipped - 23 lines]
> binary 0x597D to resolve what will display in that input box? As far as
> I know, windows 2000 uses Unicode as its internal encoding.