$jp_bytes = encode("euc-jp", decode("utf8", $utf8_bytes));