Comment detail
文字コードの変換 (Nested Flatten)すいません。 匿名で書いたのですが、 変更したかったので、 ついでにIDを作成してみました。
1 2 3 4 5 6 7 8 9 10 | //Model
function encSjistoEuc($str)
{
if ($str != "") {
$str = mb_convert_encoding($str, "EUC-JP", "SJIS");
}
return $str;
}
//この方がすっきりですね。
|



匿名
#4642()
[
PHP
]
Rating-2/2=-1.00[open]
PHPで書いてみます。
Rating-2/2=-1.00-0+
1 reply [ reply ]