in reply to string mis-match?
OK, I've made some progress... it seems perl is doing what I expect it to i.e use utf-8 when I populate a strin...
So a £ sign is represented by x'c2a3 (U+00A3), a 2-byte code.
But SOAP is sending in a single-byte x'a3 - which is the ASCII code for a £
My question has therefore evolved into "How do I tell SOAP to send utf-8 to me OR how do I use perl to convert to utf-8?"
(I have tried using Encode's 'decode_utf8' on the string received from SOAP but it didn't make any differnece that I could see...)
well, it's progress Jim, but not as we know it.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: string mis-match?
by afoken (Chancellor) on Aug 13, 2015 at 18:07 UTC |