WX (hex) widechar constant
The WX widechar constant is a contiguous sequence of hex digits, in multiples of 4, enclosed in single or double quotation marks and followed immediately by WX. Each group of 4 hex digits represents one UTF-16 character.
Syntax
'0031'wx |
represents one UTF-16 character |
""wX |
is the same as ''w |
Notes:
- WX constants should be specified in bigendian format (even if the program will run in littleendian format). So, for example, the widechar value for the character '1' should always be specified as '0031'wx (and not as '3100'wx).
- The use of WX can limit the portability of a program.
