Script Encoding
Setting Script Encoding With declare()
28/39
Interpreting an iso-8859-1 script as UTF-8:
<?php
declare(
encoding
=
"iso-8859-1"
);
$str
=
"blå = 青"
;
var_inspect
(
$str
);
?>
Output