Programming with Unicode and NLS (Windows Embedded CE 6.0)

1/6/2010

Windows Embedded CE includes national language support (NLS) APIs, as well as Unicode, to assist you in creating global applications.

NLS functions help Windows Embedded CE–based applications to support the differing language–specific and location-specific needs of users around the world. These functions enable you to specify a locale so that you can correctly display times, dates, and other language–specific and location–specific information in your application. NLS also includes support for different keyboard layouts and language–specific fonts.

Windows Embedded CE supports Unicode version 3.2. Unicode is a worldwide character-encoding standard that treats all characters as having a fixed width of 2 bytes. It can represent all the world's characters in modern computer use, including technical symbols and special characters used in publishing. Because Unicode characters are 2 bytes, Unicode–enabled functions are often referred to as wide–character functions.

Unicode defines semantics for each character, standardizes script behavior, provides a standard algorithm for bidirectional text, and defines cross-mappings to other standards. Because each Unicode character is 16–bits wide, it is possible to have separate values for up to 65,536 characters.

Windows Embedded CE uses Unicode exclusively at the system level for character and string manipulation. By implementing Unicode in your applications, you can provide your application with universal data exchange capabilities for global marketing, using a single binary file for every possible character code. This simplifies localization of software and improves multilingual text processing.

In This Section

  • Specifying Locales with NLS
    Explains how to use National Language Support (NLS) functions in Windows Embedded CE–based applications.

See Also

Other Resources

National Language Support (NLS) Application Development