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

Thanks for your response. Yes I do. I think it might be something to do with interpolation.
  • Comment on Re^3: How do you use Template Toolkit with Dancer2?

Replies are listed 'Best First'.
Re^4: How do you use Template Toolkit with Dancer2?
by choroba (Cardinal) on Apr 21, 2022 at 22:08 UTC
    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]
      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.