Hi,

The class jorphan.io.TextFile always uses the default encoding to read and
write files:
http://cvs.apache.org/viewcvs.cgi/*checkout*/jakarta-jmeter/src/jorphan/org/apache/jorphan/io/TextFile.java?content-type=text%2Fplain&rev=1.4

In my case the default encoding is ISO-8859-1 (Windows XP US). However,
other parts of the JMeter code explicitly use UTF-8:
http://cvs.apache.org/viewcvs.cgi/*checkout*/jakarta-jmeter/src/core/org/apache/jmeter/reporters/ResultCollector.java?content-type=text%2Fplain&rev=1.29

This causes the result XML file to say UTF-8 in its XML header, but the
content is actually ISO-8859-1. If funny characters are written to the
result XML, the file will not be accepted by the XSLT processor.

I fixed the problem by having jorphan.io.TextFile explicitly and
hardcodedly use UTF-8, but I don't know whether that will impact other
code. Any thoughts?

Regards, Vincent.








---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to