in reply to Re^4: XML:: DOM and Accented Characters
in thread XML:: DOM and Accented Characters
Then you're not looking for UTF-8!!!!!
UTF16-BE shows C3A9, and it is not UTF-8 as encoding="UTF-8"? claims$ perl -e"print qq!\x{C3A9}! Wide character in print at -e line 1. 쎩 $ perl -Mopen=:std,:encoding(UTF-8) -e"print qq!\x{C3A9}!" |hexdump 00000000: EC 8E A9 - | | 00000003; $ perl -Mopen=:std,:encoding(UTF-16LE) -e"print qq!\x{C3A9}!" |hexdump 00000000: A9 C3 - | | 00000002; $ perl -Mopen=:std,:encoding(UTF-16BE) -e"print qq!\x{C3A9}!" |hexdump 00000000: C3 A9 - | | 00000002; $
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^6: XML:: DOM and Accented Characters
by freeflyer (Novice) on Aug 07, 2010 at 12:14 UTC | |
by Anonymous Monk on Aug 07, 2010 at 12:25 UTC | |
by freeflyer (Novice) on Aug 07, 2010 at 12:55 UTC | |
by Anonymous Monk on Aug 07, 2010 at 13:02 UTC |