in reply to
Encode text to XML €
After reading http://perl-xml.sourceforge.net/faq/ and 'perldoc perlunicode', i realise that the only problem is not being able to use \x{1234} in a regular expression.
Comment on
Re: Encode text to XML €
Replies are listed 'Best First'.
Re: Re: Encode text to XML €
by
Jaap
(Curate)
on Sep 27, 2002 at 16:06 UTC
Found it.
use utf8;
[download]
after adding this to the header of the script, it is possible to use \x{1234} in a regexp. Thanks for all the help guys.
[reply]
[d/l]
In Section
Seekers of Perl Wisdom