<?php $utf8_string = "https://\xec\xe5\xf5\xe0\xed\xe8\xe7\xe8\xf0\xee\xe2\xe0\xed\xed\xe0\xff-\xf8\xf2\xf3\xea\xe0\xf2\xf3\xf0\xea\xe024.\xf0\xf4/"; // $utf8_string = "\x5A\x6F\xC3\xAB"; // 'Zoë' in UTF-8 $utf16_string = UConverter::transcode($utf8_string, 'UTF-16BE', 'UTF-8'); // echo bin2hex($utf16_string), "\n"; echo $utf16_string;
You have javascript disabled. You will not be able to edit any code.