[html-formfu] trunk/HTML-FormFu/examples/unicode

Carl Franks fireartist at gmail.com
Mon Sep 1 12:47:31 BST 2008


I've just updated examples/unicode so that it works properly with the
latest HTML::FormFu, and it's got up-to-date template files.
It also now supports Config::General.

examples/unicode is a Catalyst application that demonstrates the
correct use of UTF8 in a Catalyst / DBIx::Class / TT / FormFu
application.

It lets you view a rendered form, with the following choices:

  - Use Catalyst::View::TT or Catalyst::View::TT::Alloy

  - Use FormFu's internal 'string' rendering, or external TT rendering

  - Use either TT or Template::Alloy for FormFu's external rendering

  - Load the form from a .yml or .conf file

To run it, do:
    cd examples/unicode
    perl Makefile.PL
    perl scripts/unicode_server.pl
Then view the application in your web-browser.

For a more detailed explanation of the steps necessary for correct
utf8 handling - see HTML::FormFu::Manual::Unicode

Cheers,
Carl



More information about the HTML-FormFu mailing list