[PHP-users 30208] Re: メールの文字化け
goungoun
gounx2 @ gmail.com
2006年 9月 1日 (金) 12:12:14 JST
$B$3$s$K$A$O(B
# $BJ8;z%3!<%I<~$j$O<+?.$J$$$N$G$9$,!"$"$($F=q$$$F$_$^$9!#(B
> $B4pK\E*$JF|K\8l$OLdBj$J$/Aw?.$G$-$F$$$^$9!#(B
> $B%.%j%7%cJ8;z!"%m!<%^J8;z$,-j$d-k$NJ8;z$,J8;z2=$1$7$^$9!#(B
$B%a!<%k$&$s$L$s$NA0$K!"(B
ISO-2022$B$NBP>]30J8;z$@$+$iJ8;z%3!<%IJQ49$G$-$F$$$J$$$@$1$J$N$G$O!)(B
$B$H;W$C$?$N$G!"0J2<$N$h$&$JJ8;z%3!<%I$O%V%i%&%6B&$G(B
$BJQ99$9$kA0Ds$N<jH4$-%3!<%I$r=q$$$F;n$7$F$_$k$H!"(B
<?php
$txt = "$B$"$$$&$(&A&B-j-k|q|r(B";
echo $txt . "<br />";
echo mb_convert_encoding($txt,"JIS","UTF-8") . "<br />";
echo mb_convert_encoding($txt,"ISO-2022-JP","UTF-8") . "<br />";
?>
$BJQ498e$O!V$"$$$&$(&A&B!W$K$J$C$F$$$^$7$?!#(B
ps.
$B2?$+(B ISO-2022-JP-MS $B$H$$$&$N$b$"$k$_$?$$$G$9$M!#(B
$B;n$7$K$3$l$r(Bmb_convert_encoding$B$K%;%C%H$7$F$_$?$N$G$9$,(B
$B%@%a$G$7$?!#%^%K%e%"%k$b8+$^$7$?$,(BPHP$B$OBP1~$7$F$$$J$$$h$&$G$9$M!#(B
$B$H!"$5$i$K8!:w$7$F$_$k$H0J2<$N$h$&$J$N$b$_$D$1$^$7$?!#(B
http://ns1.php.gr.jp/pipermail/php-dev/2006-March/001228.html
PHP$B$G$N(BISO-2022-JP-MS$BBP1~$O:#8e$N2]Bj$C$]$$$G$9$M!#(B
$BJ8;z%3!<%IFq$7$$$J$!!#(B
--
goungoun <gounx2 @ gmail.com>
http://goungoun.dip.jp/app/
PHP-users メーリングリストの案内