in reply to Re^3: How do you use Template Toolkit with Dancer2?
in thread How do you use Template Toolkit with Dancer2?

I tried it, it displays correctly in my browser. Are you sure your source code is saved in UTF-8?

Also, in config.yml, yo need to specify

charset: "UTF-8"

map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]

Replies are listed 'Best First'.
Re^5: How do you use Template Toolkit with Dancer2?
by PiotrS (Novice) on Apr 22, 2022 at 12:41 UTC
    Thank you. Found the problem. One of my supporting files was missing a 'use utf8;'. It was staring me in the face, yet I missed it. Thank you all for your help.