UTF-16: Difference between revisions
Jump to navigation
Jump to search
m (wchar_t) |
No edit summary |
||
Line 1: | Line 1: | ||
{{stub}} | {{stub}} | ||
UTF-16 is a way to encode [[Unicode]] characters in 16-bit (2 byte) chunks. | 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 == | == See Also == | ||
[http://en.wikipedia.org/wiki/UTF-16] | |||
[http://www.joelonsoftware.com/articles/Unicode.html Joel Spolsky's "The Absolute Minimum Every Software Developer Absolutely, Positively Must Know About Unicode and Character Sets (No Excuses!)"] | [http://www.joelonsoftware.com/articles/Unicode.html Joel Spolsky's "The Absolute Minimum Every Software Developer Absolutely, Positively Must Know About Unicode and Character Sets (No Excuses!)"] | ||
[[category:Glossary]] | [[category:Glossary]] |
Revision as of 02:52, 17 June 2008
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
[1] Joel Spolsky's "The Absolute Minimum Every Software Developer Absolutely, Positively Must Know About Unicode and Character Sets (No Excuses!)"