PHP

    iconv - 원하는 문자 인코딩으로 변환한다
    • 조회수 11,103
    • 작성일 2008-09-29
    •  

    Description

    string iconv ( string $in_charset , string $out_charset , string $str )

    in_charset 으로 인코드된 stringout_charset 으로 인코딩된 string으로 변환한다. 변환된 문자열을 리턴하거나, 실패하면 FALSE을 리턴한다.

    Example #1 iconv() example:

    echo iconv("ISO-8859-1","UTF-8","This is test.");