[dancer-users] UTF-8 in Dancer2

Макс mouse-art at ya.ru
Sat Oct 27 11:32:34 BST 2018


;unicode=1 in my DBI connection string did the trick

27.10.2018, 13:13, "Макс" <mouse-art at ya.ru>:
> Hi! I'm trying to get some non-unicode strings from SQLite DB using Dancer2::Plugin::DBIC and return it to user using Dancer2::Template::TemplateToolkit, but getting Latin1-encoded string (like this: Тест) instead of normal text.
> I have charset: "UTF-8" in my config.yml.
> _______________________________________________
> dancer-users mailing list
> dancer-users at dancer.pm
> http://lists.preshweb.co.uk/mailman/listinfo/dancer-users


More information about the dancer-users mailing list