in reply to Encode text to XML €
Your XML parser is expecting UTF-8 by default, and that's exactly what you are using here, so why would you change that? Otherwise there is Text::Iconv which can convert almost any character encoding into what you need.
Using the euro char has its own particular weirdness in connection with XML as explained here: Euro-XML (xml.com). This has more to do with abusive use of control characters on some widely used platforms than anything else, however.
--
Cheers, Joe
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Encode text to XML €
by Jaap (Curate) on Sep 27, 2002 at 15:34 UTC |