public charset ( string $encoding = null ) : string | ||
$encoding | string | The character encoding to be used in the meta tag. Defaults to the encoding of the `Response` object attached to the current context. The default encoding of that object is `UTF-8`. The string given here is not manipulated in any way, so that values are rendered literally. Also see above note about casing. |
return | string | A meta tag containing the specified encoding (literally). |