We are now able to set a encoding mode in our templates

As for now this mode will only be compiled into the shared libraries
it is however the plan to make this value available from the Template
class.