Tidy Функции
PHP Manual

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 при неуспех.

Бележки

Забележка: Тази функция е налична единствено в Tidy 1.0. Тя излезе от употреба в Tidy 2.0 и затова беше премахната.


Tidy Функции
PHP Manual