tidy_set_encoding Set the input/output character encoding for parsing markup Description booltidy_set_encoding stringencoding Sets the encoding for input/output documents. &return.success; Possible values for encoding are ascii, latin0, latin1, raw, utf8, iso2022, mac, win1252, ibm858, utf16, utf16le, utf16be, big5 and shiftjis ¬e.tidy.1only;