perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Christophe Boggio <...@thefreecat.org>
Subject Re: embperl and utf-8
Date Fri, 20 Jun 2014 16:09:00 GMT
Hi Michael,

Le 18/06/2014 13:03, Michael Stevens a écrit :
> How can we get embperl working nicely with utf-8?
> 
> I've set the content-type on my pages, I still find that in order to get
> utf-8 form submissions processed correctly I have to add something like
> this:
> 
> for my $key (keys %fdat) {
>     $dat{$key} = Encode::decode_utf8($fdat{$key});
> }
> 
> Is there any way to avoid that?

Not yet. Gerald said he would take care of it in a future release, you
can have a look at this thread :

http://www.gossamer-threads.com/lists/modperl/embperl/105346

I took me a few years to reach your (correct) conclusion on how to
handle things nicely :-)

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Mime
View raw message