Helping ordinary people create extraordinary websites!


HTML_CSS::setCharset()

HTML_CSS::setCharset() -- Set charset value

Description

Define the charset for the file. Default to ISO-8859-1 because of CSS1 compatability issue for older browsers.

Parameter

string $type

(optional) Charset encoding; defaults to ISO-8859-1.

Throws

throws HTML_CSS_ERROR_INVALID_INPUT

Since

since version 0.2.0 (2003-07-31)

Note

This function can not be called statically.