Function tidySetCharEncoding

Source
pub unsafe extern "C" fn tidySetCharEncoding(
    tdoc: TidyDoc,
    encnam: ctmbstr,
) -> c_int
Expand description

Set the input/output character encoding for parsing markup. Valid values include ascii, latin1, raw, utf8, iso2022, mac, win1252, utf16le, utf16be, utf16, big5, and shiftjis. These values are not case sensitive. @note This is the same as using TidySetInCharEncoding() and TidySetOutCharEncoding() to set the same value. @result Returns 0 upon success, or a system standard error number EINVAL.