|The stupid question is the question not asked|
I've been working on a RedHat 9.0 system for quite a while until I figured that removing the UTF-8 things in /etc/sysconfig/i18n cures many of my itchings.
After that I suddenly get an error:
That script uses XML::XPath, parses an XML-file (which does not contain any umlauts or funny stuff), uses the information stored there to fill out a form defined in a second (template-)file and prints the output. This second file contains one umlaut in ISO-8859-1 encoding. Without this umlaut there is no problem.
Obviously giving the encoding explicitly in the XML file changed nothing.
When I just read in the file and print it again I don't get any error. Even if I setup the parser, parse the XML file and then print the output, nothing happens. Only when applying the information from the XML file to the template file I get the wide-character-warning. I also tried to set variable EncodeUtf8AsEntity to 1 to no avail.
I'm using perl 5.8.0, XPath Version 1.13.
Any hints, suggestions?