in reply to Re^3: UTF-8 and XML::LibXML
in thread UTF-8 and XML::LibXML
I don't think I'm getting confused by the flag as I'm not trying to read or write it. It's the text that talks about character strings that are UTF-8 encoded that may be confusing me, since the output is decoded. I thought I was creating the XML using bytes in the 6th line of my code, but if I'm getting that wrong, I would be interested. But that's not the real problem as I'm getting the same two bytes in my code and in the real files. The only method to which I believe I'm supplying values is the parser. I believe that I am putting encoded data in and getting decoded data back. That is the problem I am trying to solve - I can't see from the docs how to get encoded data back.
Regards,
John Davies
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: UTF-8 and XML::LibXML
by choroba (Cardinal) on Nov 26, 2019 at 12:56 UTC | |
|
Re^5: UTF-8 and XML::LibXML
by ikegami (Patriarch) on Nov 26, 2019 at 20:37 UTC | |
|
Re^5: UTF-8 and XML::LibXML
by haj (Vicar) on Nov 26, 2019 at 13:33 UTC | |
by davies (Monsignor) on Nov 26, 2019 at 13:49 UTC |