Hmm. Well, that doesn't work either, though.
Using
$answer = encode("UCS-2BE", $answer);
results in \u0000 in front of EVERY character in output ...
But using
$answer = decode('UTF-8', $answer);
produces a "wide character in output" error.
In reply to Re^2: UTF-8 and Unicode the hard way
by Anonymous Monk
in thread UTF-8 and Unicode the hard way
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |