The information in this article applies to:
SUMMARY
Under Windows NT, strings may be either Unicode or ANSI. There is no
function for reliably converting a string that might be either Unicode or
ANSI to an integer. This is because, given a random set of bytes, it is
difficult to determine whether the string is in Unicode or ANSI. The
calling program has to know which format the string uses in order to
convert it.
MORE INFORMATIONYou can assume that the first 128 bytes in each character set are in the same codepoint. For portability, you should code character conversions in this range as:
The TEXT macro places an "L" before the constant if Unicode is defined.
Additional query words: 3.10 3.50
Keywords : |
Last Reviewed: January 14, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |