update : 2015.11.03
php.shukuma.com

검색:
 
 
Set the input/output character encoding for parsing markup

tidy_set_encoding

(PECL tidy >= 0.5.2)

tidy_set_encodingSet the input/output character encoding for parsing markup

설명

bool tidy_set_encoding ( string $encoding )

Sets the encoding for input/output documents.

인수

encoding

The encoding parameter sets the encoding for input/output documents. The possible values for encoding are: ascii, latin0, latin1, raw, utf8, iso2022, mac, win1252, ibm858, utf16, utf16le, utf16be, big5, and shiftjis.

반환값

성공 시 TRUE를, 실패 시 FALSE를 반환합니다.

주의

Note: This function is only available in Tidy 1.0. It became obsolete in Tidy 2.0, and thus has been removed.