in reply to Re^2: UTF-8 and XML::LibXML
in thread UTF-8 and XML::LibXML
"UTF-8 encoded with the UTF8 flag on" means decoded strings (strings of Unicode Code Points), not strings encoded using UTF-8 (strings of bytes). This is the right thing to do.
As such, $node contains decode("UTF-8", chr(195) . chr(154)), which is chr(218) ("\N{U+00DA}").
|
|---|