2008/7/23 ivorw <[EMAIL PROTECTED]>: > I have a problem whereby an app of mine is behaving differently on > different boxes. The app is using Catalyst and HTML::FormFu. > > The app has a form with a textarea, and when I type any non-ASCII > characters, I get different results. > > On one machine (my dev machine) I type a pound sign or an accented > letter, and this is passed back to my application as it is, i.e. £. > > On the other machine, the character is encoded in UTF-8, and appears to > the application as £ > > Through debugging, I've worked out that the first machine is doing the > right thing, and is receiving a UTF-8 string. I can use substr to > identify that it is correctly processing the characters as UTF-8. > > I've configured the second box to have the same default locale, but it's > still failing. > > Any thoughts?
As far as I know, the server's locale shouldn't make any difference. Firstly, follow all the instructions in HTML::FormFu::Manual::Unicode. If you're still having problems after that, there's an example Cat app in the HTML-FormFu distribution in examples/unicode/ Try running that on both servers to make sure you get the expected results on both. Carl _______________________________________________ HTML-FormFu mailing list HTML-FormFu@lists.scsys.co.uk http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu