How to convert a string to UTF-16
Posted on 2006-07-12
I wonder how I can convert a normal string to UTF-16 encoding? This should be done without using PHP's mb functions.
Let's say I have this string and want it to use in UTF-16:
$StringToConvert = 'ÜĞİŞÇÖé';