J
Joker
I have a font display problem. I have two identical servers (Windows 2000
server SP4, IE 6.0 SP1). In the IE, I open the web page that has a text
input form, and I try to type some text in non-US keyboard layout (in my
case, russian). All necessary regional settings and fonts are configured and
installed. Foreign locale (russian) is installed as default, and I can see
russian characters within the system fonts (*.fon). All settings in Control
panel - Regional Options, as well as IE Options - Languages and Fonts, are
identical on both servers. All applications (Notepad, Word, etc.) allow me
to switch between locales and type foreign characters correctly.
Now the problem. ONE of the servers, when I am typing, always displays
garbled characters instead of correct foreign letters. No matter if I open
some web page with a form, or just open the HTML file with the <form> tag
locally. Second server always displays proper characters.
Analyzing the garbled characters I discovered that the faulty server just
ignored the leading bit in the UTF-8 encoded characters, thus using UTF-7
encoding instead of UTF-8. For example, the word typed as "ÐÒÉ×ÅÔ" = EF F0
E8 E2 E5 F2, was displayed as "?@825B" = 3F 40 38 32 35 42.
Interesting also is, that if I type the foreign characters in another
application (say, Notepad), and then copy-paste them into the form field,
they display correctly. Therefore, the problem narrows to the keyboard input
handling within Internet Explorer application.
There are no specific codepage instructions (like <META> tag) in the form
page source code. I can make the HTML file simple as just single <form> tag
line (here's the sample: <html> <body> <form> <INPUT type="text"> </form>
</body> </html>), and it still makes the same effect. I cannot find any
setting in registry that affects the selection of a character set by forcing
it to be UTF-8 and not a UTF-7. I only found one key that seems to affect
the produced text output, that is HKCU\Software\Microsoft\Internet Explorer
\International: Default_CodePage: REG_BINARY which defaults to E3 04 00 00.
However, this setting is the same on the server that is working correctly.
How can I fix the problem?
server SP4, IE 6.0 SP1). In the IE, I open the web page that has a text
input form, and I try to type some text in non-US keyboard layout (in my
case, russian). All necessary regional settings and fonts are configured and
installed. Foreign locale (russian) is installed as default, and I can see
russian characters within the system fonts (*.fon). All settings in Control
panel - Regional Options, as well as IE Options - Languages and Fonts, are
identical on both servers. All applications (Notepad, Word, etc.) allow me
to switch between locales and type foreign characters correctly.
Now the problem. ONE of the servers, when I am typing, always displays
garbled characters instead of correct foreign letters. No matter if I open
some web page with a form, or just open the HTML file with the <form> tag
locally. Second server always displays proper characters.
Analyzing the garbled characters I discovered that the faulty server just
ignored the leading bit in the UTF-8 encoded characters, thus using UTF-7
encoding instead of UTF-8. For example, the word typed as "ÐÒÉ×ÅÔ" = EF F0
E8 E2 E5 F2, was displayed as "?@825B" = 3F 40 38 32 35 42.
Interesting also is, that if I type the foreign characters in another
application (say, Notepad), and then copy-paste them into the form field,
they display correctly. Therefore, the problem narrows to the keyboard input
handling within Internet Explorer application.
There are no specific codepage instructions (like <META> tag) in the form
page source code. I can make the HTML file simple as just single <form> tag
line (here's the sample: <html> <body> <form> <INPUT type="text"> </form>
</body> </html>), and it still makes the same effect. I cannot find any
setting in registry that affects the selection of a character set by forcing
it to be UTF-8 and not a UTF-7. I only found one key that seems to affect
the produced text output, that is HKCU\Software\Microsoft\Internet Explorer
\International: Default_CodePage: REG_BINARY which defaults to E3 04 00 00.
However, this setting is the same on the server that is working correctly.
How can I fix the problem?