Unicode and Microsoft Windows NT

Last reviewed: May 6, 1997
Article ID: Q99884

The information in this article applies to:
  • Microsoft Windows NT operating system version 3.1

Windows NT version 3.1 employs a relatively new standard of character representation called Unicode. This new standard allows for greater flexibility in adding support for localized versions of Microsoft Windows NT.

MORE INFORMATION

The first and most prominent character standard in use by computers today is ASCII. This format is adequate for western languages, but as computers became more popular in European countries, the limitations of ASCII became clear.

In an effort to overcome some of these limitations, the International Standards Organization (ISO) established a new standard called Latin-1 that defined European characters that were omitted from ASCII. Microsoft Windows modified the Latin-1 standard even further and called the character set Windows ANSI. However, by continuing use of an 8-bit coding scheme, ASCII is only capable of representing 256 unique symbols--considerably less than the 10,000 symbols that are common in such languages as Cyrillic, Chinese, Korean, and Japanese. In addition to the language barriers, as the capabilities of computers broaden beyond uppercase, monospaced fonts, the requirements for a large set of unique characters (for example, letters, punctuation, mathematical and technical symbols, and publishing characters) have also grown far beyond the capabilities of 8-bit text.

The lowest level of localization (adaptation to a particular language) is the actual binary representation of characters: the code set. To overcome the limitations of the other coding methods, several major computer companies, including Apple Computer, Inc., Sun Microsystems, Inc., Xerox Corp., and IBM (International Business Machines Corp.), formed Unicode Inc., a non-profit consortium, to set out to define a new standard for international character sets. At the same time, the ISO began developing a standard. Eventually, these standards merged and became Unicode. Unicode is published as The Unicode Standard, Worldwide Character Encoding.

Unicode employs a 16-bit coding scheme that allows for 65,536 distinct characters--more than enough to include all languages in use today. In addition, it supports several archaic or arcane languages such as Sanskrit and Egyptian hieroglyphs. Unicode also includes representations for punctuation marks, mathematical symbols, and dingbats, with room left for future expansion. Because it establishes a unique code for each character in each script, Windows NT can ensure that the character translation from one language to another is accurate.

Unicode in Windows NT

Unicode is the native code set of Windows NT, but the Win32 subsystem provides both ANSI and Unicode support. Character strings in the system, including object names, path names, and file and directory names are represented with 16-bit Unicode characters. The Win32 subsystem converts any ANSI characters it receives into Unicode strings before manipulating them. It then converts them back to ANSI, if necessary, upon exit from the system.

References:

Unicode Inc. 1965 Charleston Road Mountain View, CA 94043 Phone (415) 961-4189

"Inside Windows NT," by Helen Custer, Microsoft Press, 1992

"Program Migration to Unicode," by Amus Freytag, Proceedings of the First Unicode Implementers Workshop, The Unicode Consortium, Mountain View, California, August, 1991

"Adapt Your Program for Worldwide Use with Windows Internationalization Support," by William S. Hall, Microsoft Systems Journal, Vol. 6, No. 6, Nov./Dec. 1991

"Operating Systems Design and Implementation," by Andrew S. Tanenbaum, Prentice-Hall, Inc., Englewood Cliffs; New Jersey, 1987


Additional query words: prodnt win32
Keywords : kbother ntfilesys
Version : 3.1
Platform : WINDOWS


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: May 6, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.