Hi,

On Fri, Jul 12, 2013 at 12:02 PM, Lukas <lukas.vyslo...@gmail.com> wrote:

> we are using Perl 5.10, Mason 1.42 and having an issues with UTF-8 encoded
> strings. Recently we are accepting new customers from different countries
> that have different letters in the database and standart encoding cannot
> support this. From what Ive read, even if i encode string in one mason
> component to UTF8 as soon as this string is passed to another component it
> is again treated Lating1 event that the string was previously converted to
> UTF8, this is causing huge problems for us. Is there a way how to enforce
> UTF8 for every module? Unfortunately we cannot upgrade to higher versions
> of perl or mason as our app would not work in this environment.
>
> Is there any solution for this problem?
>

Never seen nothing like this.

As long as you decode your UTF8 parameters on the request, and encode the
output before sending it back to the client, and all your interactions with
external systems are properly dealt with (for example, set the proper flags
for unicode support on your DBI connections), it should just work…

Bye,
-- 
Pedro Melo
@pedromelo
http://www.simplicidade.org/
xmpp:m...@simplicidade.org
mailto:m...@simplicidade.org
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to