How DBCS Characters Are Used Depends on the Operating System

Last reviewed: November 17, 1995
Article ID: Q129705
The information in this article applies to:
  • Standard, Professional, and Enterprise Editions of Microsoft Visual Basic, 16-bit and 32-bit, for Windows, version 4.0

SUMMARY

When using Visual Basic for Windows with Double-Byte Character Sets (DBCS) of different languages, characters from a language that does not use the same character set as the current localized operating system version will not be available and may cause problems.

MORE INFORMATION

In Visual Basic, edits to any foreign language must be made from that language's localized operating system because not all characters are valid and visible from every language. For example, some extended characters in French are valid leading bytes for DBCS, so they eat up the next character and create (or appear as) a invalid DBCS character.

Additionally, you can only enter DBCS characters from a DBCS version of Visual Basic on a DBCS localized operating system.

This essentially means that if you want to view or access double-byte characters by using the System font on a DBCS operating system, the font you choose on your U.S. operating system must be one that is available on a DBCS operating system. This limits the choices to "System" font and (for some localized versions) and "Terminal."

NOTE: There is also a difference in default font sizes on Japanese machines. The display system is different on Japanese machines. Therefore, some dialog text or button captions may appear cut off on DBCS displays if this is not accounted for at design time.


Additional reference words: 4.00 vb4win vb4all
KBCategory: kbprg
KBSubcategory: APrgOther


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: November 17, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.