/ PHP / 상세보기

iconv_set_encoding - 현재의 문자 인코딩을 설정

👁 조회 4,848 📅 2010-04-28 🔗 참고사이트
bool iconv_set_encoding ( string $type , string $charset )

반환값 : 성공할 경우 TRUE를, 실패할 경우 FALSE를 반환합니다.

<?php
iconv_set_encoding
("internal_encoding""UTF-8"
);
iconv_set_encoding("output_encoding""ISO-8859-1"
);
?>

💬 댓글 1개

2010-04-28
The value of type can be any one of those:

■ input_encoding
■ output_encoding
■ internal_encoding