The information in this article applies to:
SUMMARY
In a version of Windows that is enabled for double-byte character sets
(DBCS), all functions that take strings as arguments will work with
strings of double-byte characters. In addition, any version of Windows
that supports DBCS will support the IsDBCSLeadByte function. This
function determines whether or not a byte is the leading byte of a
2-byte character. The Windows functions that use a string length
parameter (like lstrlen and TextOut) will use a count of bytes,
not of characters. The functions IsDBCSLeadByte, AnsiPrev, and
AnsiNext should be used to access characters within a string.
KANJIThe March, 1990, "Microsoft Systems Journal" article "Using the OS/2 National Language Support Services to Write International Programs" has more information on both DBCS and KANJI. It can be found in the Software/Data Library by searching on OS2NLS or S12547. OS2NLS was archived using the PKware file-compression utility. Additional query words:
Keywords : kbIntlDev |
Last Reviewed: November 3, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |