Add utf-8 encoding to layout template