setEncoding(
$encoding
)
PHPTAL class calls this method to inform your translation service what encoding is used by the template.
translate()
method should return strings in that encoding. If you always use the same encoding for templates and translation files (i.e. UTF-8), you can leave this method empty.