<meta http-equiv='content-type' content='text/html; charset=euc-kr'>
<?
$enc = mb_detect_encoding($str);


 echo "서버의 환경언어 : ".$enc;
 echo "<BR>";


 $row[goods_name]="우리나라 대한민국";
 echo $row[goods_name];
 echo "<BR>";
 $goods_name = iconv("euckr","utf-8",$row[goods_name]);
 echo "<BR>";
 echo $goods_name;
?>