PHP utf2euc(), euc2utf()

(PHP utf2euc, euc2utf에서 넘어옴)
UTF-8, EUC-KR 변환 PHP함수

1 utf2euc(), euc2utf()[ | ]

PHP
Copy
function utf2euc($str) { return iconv("UTF-8","cp949//IGNORE", $str); }
function euc2utf($str) { return iconv("cp949","UTF-8//IGNORE", $str); }

2 같이 보기[ | ]