Hi! I want to substitute element content by entity references in UTF-8 encoded XML files using Perl. My script currently only works with ISO 8859 encodings. Is there a module that can be used in Perl scripts that correctly reads and writes files according to specified encoding? If so, what's the name of it and where can I obtain it from?
Additional info that might be helpful: I'm not using a DOM module to retrieve an element's contents, just ordinary regexps. Any help will be greatly appreciated! Kind regards, Holger