You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by bu...@apache.org on 2004/09/12 19:51:10 UTC
DO NOT REPLY [Bug 31184] New: -
Japanese JDBC response data can not be displayed correctly in view results Tree
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31184>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=31184
Japanese JDBC response data can not be displayed correctly in view results Tree
Summary: Japanese JDBC response data can not be displayed
correctly in view results Tree
Product: JMeter
Version: 2.0.1
Platform: PC
OS/Version: Windows NT/2K
Status: NEW
Severity: Minor
Priority: Other
Component: Main
AssignedTo: jmeter-dev@jakarta.apache.org
ReportedBy: gyota@ybb.ne.jp
Currently, JDBC response data is set useing String.getByte() in JDBC sampler
code.
This means that JDBC response data is encoded using platform default encoding.
But SampleResult.dataEncoding is not set in JDBC sampler.
If dataEncoding isn't set, view results tree get string using default
encoding "ISO-8859-1".
so, I think, SampleResult.dataEncoding should be set as platform default
encoding as following:
res.setDataType(SampleResult.TEXT);
res.setDataEncoding(System.getProperty("file.encoding"));
I confirmed this code works.
thak you,
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org