Re: Encoding in Mason components

Jonathan Swartz <[email protected]> Wed, 13 Aug 2014 05:19:31 -0700
Newsgroups gmane.comp.web.mason.user
Message-ID <[email protected]>
--===============3943618955360451559==
Content-Type: multipart/alternative;
	boundary="Apple-Mail=_2CFB73D0-DF83-4CEC-A585-49E3FB5C3D39"


--Apple-Mail=_2CFB73D0-DF83-4CEC-A585-49E3FB5C3D39
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=windows-1252

Ladislav - you can find some starting points here =97

=
http://stackoverflow.com/questions/5858596/how-to-make-mason2-utf-8-clean
=
https://www.mail-archive.com/[email protected]/msg03450.ht=
ml

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=85 :)

Best
Jon

On Aug 13, 2014, at 5:13 AM, Adam Sj=F8gren <[email protected]> wrote:

> Ladislav Laska <[email protected]> writes:
>=20
>> So my question to the community is: what is the right way to do it?
>=20
> In the old HTML::Mason (1) days, I would put 'use utf8;' in the =
preamble
> parameter:
>=20
> * =
https://metacpan.org/pod/distribution/HTML-Mason/lib/HTML/Mason/Params.pod=
#preamble
>=20
>=20
> I don't know if Mason (2) has changed anything in this regard.
>=20
>=20
>  Best regards,
>=20
>    Adam
>=20
> --=20
> "Repetition is the death of magic."                          Adam =
Sj=F8gren
>                                                         =
[email protected]
>=20
>=20
> =
--------------------------------------------------------------------------=
----
> _______________________________________________
> Mason-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mason-users


--Apple-Mail=_2CFB73D0-DF83-4CEC-A585-49E3FB5C3D39
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=windows-1252

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dwindows-1252"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: =
after-white-space;"><div>Ladislav - you can find some starting points =
here =97</div><div><br></div><div><a =
href=3D"http://stackoverflow.com/questions/5858596/how-to-make-mason2-utf-=
8-clean">http://stackoverflow.com/questions/5858596/how-to-make-mason2-utf=
-8-clean</a></div><div><a =
href=3D"https://www.mail-archive.com/[email protected]/msg=
03450.html">https://www.mail-archive.com/[email protected]=
/msg03450.html</a></div><div><br></div><div>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=85 =
:)</div><div><br></div><div>Best</div><div>Jon</div><br><div><div>On Aug =
13, 2014, at 5:13 AM, Adam Sj=F8gren &lt;<a =
href=3D"mailto:[email protected]">[email protected]</a>&gt; =
wrote:</div><br class=3D"Apple-interchange-newline"><blockquote =
type=3D"cite">Ladislav Laska &lt;<a =
href=3D"mailto:[email protected]">[email protected]</a>&gt; =
writes:<br><br><blockquote type=3D"cite">So my question to the community =
is: what is the right way to do it?<br></blockquote><br>In the old =
HTML::Mason (1) days, I would put 'use utf8;' in the =
preamble<br>parameter:<br><br> * <a =
href=3D"https://metacpan.org/pod/distribution/HTML-Mason/lib/HTML/Mason/Pa=
rams.pod#preamble">https://metacpan.org/pod/distribution/HTML-Mason/lib/HT=
ML/Mason/Params.pod#preamble</a><br><br><br>I don't know if Mason (2) =
has changed anything in this regard.<br><br><br> &nbsp;Best =
regards,<br><br> &nbsp;&nbsp;&nbsp;Adam<br><br>-- <br> "Repetition is =
the death of magic." =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;Adam Sj=F8gren<br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a =
href=3D"mailto:[email protected]">[email protected]</a><br><br><br>-------=
-----------------------------------------------------------------------<br=
>_______________________________________________<br>Mason-users mailing =
list<br><a =
href=3D"mailto:[email protected]">[email protected]=
forge.net</a><br>https://lists.sourceforge.net/lists/listinfo/mason-users<=
br></blockquote></div><br></body></html>=

--Apple-Mail=_2CFB73D0-DF83-4CEC-A585-49E3FB5C3D39--


--===============3943618955360451559==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------

--===============3943618955360451559==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Mason-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mason-users

--===============3943618955360451559==--