Re: supporting utf8 form data in HTML::Mason
Louis-David Mitterrand <[email protected]> Tue, 29 Jul 2014 16:38:17 +0200
| Newsgroups | gmane.comp.web.mason.user |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Jul 29, 2014 at 03:33:54PM +0100, J=E9r=F4me =C9t=E9v=E9 wrote: > Yeah you would have to decode your params . It would be nice if it > could be made automatically though. I suppose that at worse you can > monkey patch that :) > = Actually only decode_utf8 is requires here (no client_encoding change). The last thing is CGI's sticky form feature returns a wrongly encoded string. Ah well... Thanks J=E9r=F4me, > = > = > On 29 July 2014 15:25, Louis-David Mitterrand > <[email protected]> wrote: > > On Tue, Jul 29, 2014 at 03:09:12PM +0100, J=E9r=F4me =C9t=E9v=E9 wrote: > >> You probably need to tell whatever is building your parameter to > >> utf8_decode them. > >> > >> Are you using just mason (1 or 2?) or mason in combination with some M= VC? > > > > Some progress: if I add 'client_encoding=3DUTF-8' to my DBI->connect() > > string (my dev box has an en_IE@euro locale by default) and > > decode_utf8() the returned param then it works as expected. > > > > -----------------------------------------------------------------------= ------- > > Infragistics Professional > > Build stunning WinForms apps today! > > Reboot your WinForms applications with our WinForms controls. > > Build a bridge from your legacy apps to the future. > > http://pubads.g.doubleclick.net/gampad/clk?id=3D153845071&iu=3D/4140/os= tg.clktrk > > _______________________________________________ > > Mason-users mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/mason-users > = > = > = > -- = > Jerome Eteve > +44(0)7738864546 > http://www.eteve.net/ > = > -------------------------------------------------------------------------= ----- > Infragistics Professional > Build stunning WinForms apps today! > Reboot your WinForms applications with our WinForms controls. = > Build a bridge from your legacy apps to the future. > http://pubads.g.doubleclick.net/gampad/clk?id=3D153845071&iu=3D/4140/ostg= .clktrk > _______________________________________________ > Mason-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/mason-users ---------------------------------------------------------------------------= --- Infragistics Professional Build stunning WinForms apps today! Reboot your WinForms applications with our WinForms controls. = Build a bridge from your legacy apps to the future. http://pubads.g.doubleclick.net/gampad/clk?id=3D153845071&iu=3D/4140/ostg.c= lktrk