[html-formfu] FormFu and Unicode

Carl Franks fireartist at gmail.com
Tue Aug 14 09:11:51 GMT 2007


On 13/08/07, Carl Franks <fireartist at gmail.com> wrote:
> On 09/08/07, Tobias Kremer <list at funkreich.de> wrote:
> >
> > 1) The YAML parser that reads the form definition must assure that the file is
> > properly decoded (e.g. utf-8) into Perl's internal format.
>
> I've added a hack to load_config_file(), so that the contents returned
> by filenames ending with 'yaml' or 'yml' are forcefully decoded.
> I intend contacting the author of YAML::Syck though, to figure out the
> correct solution.

Tatsuhiko Miyagawa replied to the thread on the catalyst list with the
correct fix - so I've made the change.
Note though, that it only fixes YAML::Syck - I can see no simliar
option for YAML.pm

Carl



More information about the HTML-FormFu mailing list