http://www.perlmonks.org?node_id=589148


in reply to Problem with SOAP::Lite and accented characters.

In your simple case, unless you have

 use utf8;

in your script, the joé is not being interpreted as UTF8. You may want to try:

$ref->{data}->firstname="jo\x{e9}";

to be sure that it is interpreted correctly.

When I retrieve UTF8 from MySQL, I do:

 utf8::decode($value)

to make sure that it is correctly interpreted as UTF8