PHP utf2euc(), euc2utf()

Jmnote (토론 | 기여)님의 2021년 1월 5일 (화) 02:20 판
(차이) ← 이전 판 | 최신판 (차이) | 다음 판 → (차이)
UTF-8, EUC-KR 변환 PHP함수

1 utf2euc(), euc2utf()[ | ]

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

2 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}