Skip to content

Latest commit

 

History

History
4 lines (3 loc) · 266 Bytes

README.md

File metadata and controls

4 lines (3 loc) · 266 Bytes

makeUTF8

converts UTF-16 (BE/LE), UTF-32 (BE/LE), ISO-8859-N to UTF-8. Removes BOM and surrogate pairs from UTF-8, converting a codepoint between U-D800 and U-DBFF followed by a codepoint between U-DC00 and U-DFFF to one valid codepoint > U-FFFF.