[html-formfu] Element::Date months encoding patch

Carl Franks fireartist at gmail.com
Mon Oct 15 10:51:05 GMT 2007


On 15/10/2007, Jonas Alves <jonas.alves at gmail.com> wrote:
> Hello all,
> The months returned by Element::Date are scrambled in the output.
> Here goes a patch that encodes the months returned from DateTime::Locale
> with the correct encoding.

I like the ucfirst() addition, but the encode() shouldn't be necessary
if the DateTime::Locale::* files use utf8.pm (de.pm does, but I
haven't checked any others).

What I'm going to do is create a catalyst-app in the "examples"
folder, which uses formfu / sqlite / templates, all with utf-8 in them
- so that we get this issue sorted once and for all, and have a
working solution to point to.
Then we can use that to test any changes such as this.

Carl



More information about the HTML-FormFu mailing list