UTF-16
Jump to navigation
Jump to search

This article needs more
links to other articles to help
integrate it into the encyclopedia. Please help improve this article by adding links
that are relevant to the context within the existing text.
January 2024



January 2024
UTF-16 is a way to encode Unicode characters in 16-bit (2 byte) chunks. Characters using UTF-16 encoding can be stored in wchar_t variables or arrays, or wstring objects, but may not handle surrogates properly if mishandled.
See also
- UTF-16 article on Wikipedia
- Joel Spolsky's "The Absolute Minimum Every Software Developer Absolutely, Positively Must Know About Unicode and Character Sets (No Excuses!)"