tidy_set_encoding
Set the input/output character encoding for parsing markup
Beschreibung
bool tidy_set_encoding
( string $encoding
)
Parameter-Liste
-
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.
Rückgabewerte
Gibt bei Erfolg TRUE zurück. Im Fehlerfall wird FALSE zurückgegeben.
Anmerkungen
Hinweis: Diese Funktion steht nur in Tidy 1.0
zur Verfügung. In Tidy 2.0 ist diese Funktion obsolet und wurde
entfernt.