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

Jonas Alves jonas.alves at gmail.com
Mon Oct 15 13:09:36 GMT 2007


On 15/10/2007, Carl Franks <fireartist at gmail.com> wrote:
>
> 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).


pt.pm also does, but  I'm getting ?'s in the output. I'm using
Catalyst::Plugin::Unicode and "ENCODING =3D> 'UTF-8'" in the TT view.

-- =

Jonas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/html-formfu/attachments/20071015/16=
c773eb/attachment.htm


More information about the HTML-FormFu mailing list