Hi Jon,

Please, can you post some guidelines, how to correctly use Mason2 in the utf8 
environment?

PSGI (plackup) want bytes, therefore even with the next simple component - 
/index.mc:

<%init>
use utf8;
my $name = "ödön";
</%init>
Hello <% uc($name) %>

plackup throw error with the message:
> Body must be bytes and should not contain wide characters (UTF-8 strings)

What is correct way deal with this issue? (so, where to do 
Encode::{de|en}code_utf8?)

Especially:
1. components output with utf8
2. handling utf8 GET/POST arguments...

Thank you for help.
jm


------------------------------------------------------------------------------
Magic Quadrant for Content-Aware Data Loss Prevention
Research study explores the data loss prevention market. Includes in-depth
analysis on the changes within the DLP market, and the criteria used to
evaluate the strengths and weaknesses of these DLP solutions.
http://www.accelacomm.com/jaw/sfnl/114/51385063/
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to