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
1.4m articles
1.4m replys
5 comments
57.0k users