in reply to Re^3: UTF8 fun and games again
in thread UTF8 fun and games again
Hi,
I can't post that code, as its all over the place (part of the API for the database in the script I'm using). I know that code works fine normally, as I've used UTF8 charachters loads). The problem has to be something to do with this code.
If I do:
I see:
Argh its driving me up the wall!
BTW, here is the actual JSON data thats getting passed back:
I can't post that code, as its all over the place (part of the API for the database in the script I'm using). I know that code works fine normally, as I've used UTF8 charachters loads). The problem has to be something to do with this code.
If I do:
my $string = Do_Translate("en","fr",'are you'); use Data::Dumper; print Dumper($string,'êtes-vous');
I see:
$VAR1 = 'êtes-vous'; $VAR2 = "\x{ad25}s-vous";
Argh its driving me up the wall!
BTW, here is the actual JSON data thats getting passed back:
'translations' => [ { 'translatedText' => "\x{c3 +}\x{aa}tes-vous" } ]
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: UTF8 fun and games again
by ultranerds (Hermit) on Oct 17, 2011 at 18:37 UTC | |
by anneli (Pilgrim) on Oct 18, 2011 at 08:37 UTC |
In Section
Seekers of Perl Wisdom