(PECL tidy >= 0.5.2)
tidy_set_encoding — Set the input/output character encoding for parsing markup
$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: 此函数仅可在 Tidy 1.0 中有效。在 Tidy 2.0 中,其已过时并已被移除。