UTF-16 Encoder
Encoders & DecodersConvert text into UTF-16 hexadecimal code units.
About This Tool
Encode characters into 16-bit code units. Useful for working with JavaScript's internal string representation and Windows-based file systems.
Frequently Asked Questions
UTF-16 is a character encoding that represents most common characters with a single 16-bit code unit, while rarer characters use two 16-bit units (surrogate pairs).
UTF-8 is byte-oriented (8-bit) and varies from 1 to 4 bytes. UTF-16 is oriented towards 16-bit words and is the default encoding for many OS internals and languages.
Characters outside the Basic Multilingual Plane (like many emojis) cannot fit in 16 bits. They are encoded as a pair of 16-bit values known as high and low surrogates.
0 Comments
No comments yet. Be the first to share your thoughts!