PRB: Random Symbols on Dialog Box in Japanese Windows

Last reviewed: January 15, 1998
Article ID: Q123391
3.10 WINDOWS kbui kbprb

The information in this article applies to:

  • Microsoft Windows Software Development Kit (SDK) for Windows version 3.1

SYMPTOMS

While using the Japanese Resource compiler to compile a Japanese resource file, and running it under Japanese Windows, you see random symbols on the dialog box where Japanese characters should be.

CAUSE

Arial, Times New Roman, and Helvetica fonts work well with English characters and most European characters, but not with Japanese characters. The Japanese fonts that have font names starting with '@' are vertical fonts, meaning they are designed specifically for vertical writing (writing from top to bottom and right to left). They are not suitable for English where writing is horizontal (left to right).

RESOLUTION

Use the Japanese font for that dialog box. If no particular Japanese font is desired, use the system font (a Japanese font under Japanese Windows) by omitting the FONT resource statement from your dialog template, or send the WM_SETFONT message with the system font to the control that contains Japanese characters.


Additional reference words: fesdk DBCS rc
KBCategory: kbui kbprb
KBSubcategory: KBIntlDev
Keywords : kb16bitonly


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: January 15, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.