If I understand you, you are saying that you are typing "é" in a utf8 html form, and getting "é" in your %ARGS variable. Is that correct?
If so, "é" is in fact the utf8 encoding for the iso-8859-1 character "é", so everything is working correctly. On the other hand, if you are typing "é" in the form, and seeing "é" on the result page, it means that you are actually outputting "é" to the page, because something is converting the "é" to utf8 twice. (Once when the form is submitted, which is correct, and once sometime during the process of assembling and outputting the page, which is bad.) This could be caused by a great variety of non-utf8 compliant modules, misplaced utf8 flags, and even bugs in perl itself. But it is not mason-specific. ~ John Williams On Tue, 7 Mar 2006, Cyril SUDRE wrote: > No sure if it's mason specific. Please let me know. > > I'm trying to have my form handle UTF-8 encoded arguments correctly with > HTML::FillInForm in a mason component. > My pages are UTF-8 delivered with correct charset in html header. All work > except when filtering my forms with HTML::FillInForms. The page render > "UTF-8 encoded" arguments passed in URL. > > So a "é" in a text field is rendered as "é" when i submit. > > I've tried to decode string in %ARGS, but with no success. > Any help appreciated. > > Cyril ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Mason-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mason-users

