in reply to Encoding/decoding question
The original XHTML is broken.
XML::Twig is actually returning the correct data.
should beréserve
réserve
It appears that the XHTML was produced using
encode_entities(encode("UTF-8", "réserve"))
when one should use
encode("UTF-8", encode_entities("réserve"))
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Encoding/decoding question
by slugger415 (Monk) on Sep 11, 2011 at 19:13 UTC | |
by ikegami (Patriarch) on Sep 11, 2011 at 20:26 UTC | |
by tchrist (Pilgrim) on Sep 12, 2011 at 00:43 UTC | |
by ikegami (Patriarch) on Sep 12, 2011 at 02:35 UTC | |
by tchrist (Pilgrim) on Sep 12, 2011 at 20:09 UTC | |
by Anonymous Monk on Sep 12, 2011 at 20:34 UTC | |
by slugger415 (Monk) on Sep 12, 2011 at 15:11 UTC | |
by tchrist (Pilgrim) on Sep 12, 2011 at 15:51 UTC | |
by slugger415 (Monk) on Sep 12, 2011 at 20:20 UTC | |
| |
by slugger415 (Monk) on Sep 12, 2011 at 20:30 UTC | |
| |
by mirod (Canon) on Sep 13, 2011 at 08:36 UTC |