[Dancer-users] Problem with non ascii characters in yaml files

Eric Guirbal eric.guirbal at gmail.com
Thu Jan 13 20:36:29 CET 2011


To reproduce the problem.

$ dancer -a test

Then add in config.yml:

quote: >
     Avant de choisir le prénom d'un garçon, pensez
     toujours à la femme qui aura à le murmurer plus tard.

And in index.tt:

<blockquote>
   <% settings.quote %>
</blockquote>

Launch the app and point your browser on http://localhost:3000/ to see 
the lovely quote from Barbey d'Aurevilly disfigured.

Tested with dancer 1.2003.

Regards.

-- 
Eric


More information about the Dancer-users mailing list