How do I convert a utf-8 string to a utf-16 string in PHP?
mbstring supports UTF-16, so you can use mb_convert_encoding.
mb_convert_encoding
548k questions
547k answers
4 comments
86.3k users