Why the encoding is just in the example and not in the template?