Perl generated XML - character sets

Ash Berlin ash_cpan at
Tue Sep 18 10:26:49 BST 2007

alex at wrote:
> I have to admit that I dont know much about character sets used in XML -
> and even less about when perl generates that XML.
> So I have some perl code which generates XML. On Linux it works fine, but
> on Solaris some funny characters come through - probably a euro symbol -
> and the generated file is no longer valid XML.
> Can anyone point me at stuff I need to read and learn to try and sort this
> out?
> Can anyone explain to me why it behaves differently on the different OS'es
> when AFAIK the perl versions are the same.
> Cheers
> Alex
would do the trick.

More information about the mailing list