Shift-JIS and UTF-8 implementation

Table 7 shows the Shift-JIS (Japanese characters) or UTF-8 (Unicode characters) locale categories.

Table 7. Default Shift-JIS and UTF-8 locales

__use_sjis_ctypeSets the character set to the Shift-JIS multibyte encoding of Japanese characters
__use_utf8_ctypeSets the character set to the UTF-8 multibyte encoding of all Unicode characters

The following list describes the effects of Shift-JIS and UTF-8 encoding:

You can arbitrarily switch between multibyte locales and single-byte locales at runtime if you include more than one in your application. By default, only one locale at a time is included.

Show/hideSee also

Copyright © 2010-2012 ARM. All rights reserved.ARM DUI 0475H