Hi! Thanks you both for the pointers! I haven't found direct alternative to preamble (I guess it should be a plugin), but fortunately putting 'use utf8;' into my component seems to work just fine (I expect more problems when processing user's input, luckily I only have one form :-)).
I hope we'll see the plugin soon! On Wed, Aug 13, 2014 at 05:19:31AM -0700, Jonathan Swartz wrote: > Ladislav - you can find some starting points here — > > http://stackoverflow.com/questions/5858596/how-to-make-mason2-utf-8-clean > https://www.mail-archive.com/mason-users@lists.sourceforge.net/msg03450.html > > There ought to be a Mason::Plugin::Utf8 that handles this, but I never had > the > time and it appears no one else did either… :) > > Best > Jon > > On Aug 13, 2014, at 5:13 AM, Adam Sjøgren <a...@koldfront.dk> wrote: > > > Ladislav Laska <la...@kam.mff.cuni.cz> writes: > > > >> So my question to the community is: what is the right way to do it? > > > > In the old HTML::Mason (1) days, I would put 'use utf8;' in the preamble > > parameter: > > > > * > > https://metacpan.org/pod/distribution/HTML-Mason/lib/HTML/Mason/Params.pod#preamble > > > > > > I don't know if Mason (2) has changed anything in this regard. > > > > > > Best regards, > > > > Adam > > > > -- "Repetition is the death of magic." Adam Sjøgren > > a...@koldfront.dk > > > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > > Mason-users mailing list > > Mason-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/mason-users > > ------------------------------------------------------------------------------ > _______________________________________________ > Mason-users mailing list > Mason-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mason-users -- S pozdravem Ladislav Láska <la...@kam.mff.cuni.cz> Katedra Aplikované Matematiky, MFF UK tel.: +420 739 464 167 ------------------------------------------------------------------------------ _______________________________________________ Mason-users mailing list Mason-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mason-users