tidy
PHP Manual

tidy_set_encoding

(PECL tidy:0.5.2-1.2)

tidy_set_encoding — Set the input/output character encoding for parsing markup

Description

bool tidy_set_encoding ( string $encoding )

Sets the encoding for input/output documents. Возвращает TRUE в �лучае у�пешного завершени� или FALSE в �лучае возникновени� ошибки. Possible values for encoding are ascii, latin0, latin1, raw, utf8, iso2022, mac, win1252, ibm858, utf16, utf16le, utf16be, big5 and shiftjis

Note: Эта функци� до�тупна только в Tidy 1.0. С приходом Tidy 2.0 она �тала ненужной и была удалена.


tidy
PHP Manual