- or download this
$string = decode("euc-jp", $string);
- or download this
$char_string = decode("euc-jp", $jp_bytes);
$utf8_bytes = encode("utf8", $char_string);
- or download this
$utf8_bytes = encode("utf8", decode("euc-jp", $jp_bytes));
- or download this
$utf8_bytes = from_to($jp_bytes, "euc-jp", "utf8");
- or download this
$char_string = decode("euc-jp", $jp_bytes);
binmode FH, ":encoding(euc-jp)";
print FH $char_string;