Re: XML::Simple and utf8 woes
- From: <corff@xxxxxxxxxxxxxxxxxx>
- Date: 20 Mar 2006 21:45:51 GMT
corff@xxxxxxxxxxxxxxxxxx wrote:
: Really? I'll have to try tomorrow, don't have an XP box here right now.
I still don't have an XP system at hand.
If you run the code with the -CS flag given to perl, even the innocent
print statement in the middle of the code will output two characters
instead of one utf8-encoded character, and this doesn't change the broken
output of the XMLout() statement.
This is beyond any expectation created after reading the perlrun manpage.
However, if XML::Simple is instructed in the XMLout statement to escape
all non-ASCII characters, then, miraculuously, the correct utf8 replacements
appear. It really drives me nuts.
Oliver.
--
Dr. Oliver Corff e-mail: corff@xxxxxxxxxxxxxxxxxx
.
- Follow-Ups:
- Re: XML::Simple and utf8 woes
- From: fhscobey
- Re: XML::Simple and utf8 woes
- References:
- XML::Simple and utf8 woes
- From: corff
- Re: XML::Simple and utf8 woes
- From: ngoc
- Re: XML::Simple and utf8 woes
- From: corff
- XML::Simple and utf8 woes
- Prev by Date: Re: unicode conversion
- Next by Date: Re: Finding unused variables in a Perl script
- Previous by thread: Re: XML::Simple and utf8 woes
- Next by thread: Re: XML::Simple and utf8 woes
- Index(es):
Relevant Pages
|