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, latin1, raw, utf8, iso2022, mac, win1252, utf16le, utf16be, utf16, big5, and shiftjis. ¬e.tidy.1only;