Dashboard cannot display Japanese(and maybe also Chinese) characters. This is because CHARSET is specified as "ISO8859-1" in CsvSampleReader.java. It should be taken from SaveService. CsvSampleReader.java ---- private static final String CHARSET = "ISO8859-1"; -> private static final String CHARSET = SaveService.getFileEncoding("UTF-8");
Hi, Thanks for report. could you provide a sample csv file that reproduces the issue ? Also provide user.properties, jmeter.properties and jmeter.log Thanks Regards
Created attachment 34062 [details] jmeter.log
Created attachment 34063 [details] jmeter.properties(not modified from original)
Created attachment 34064 [details] user.properties(not modified from original)
Created attachment 34065 [details] result jtl file(UTF-8)
Created attachment 34066 [details] Problem and Expected
Thanks for your reply. Additional image/pnf file is screen capture of expected result.
Created attachment 34070 [details] Simple test plan to produce a csv file with japanese characters The problem seems to be, that the csv (jtl) files are written using the ResultCollector, which uses UTF-8 as default. Trouble is, that they are read using CSVSampleReader (which defaults to ISO-8859-1). When we change CSVSampleReader to UTF-8, we should consider changing CSVSampleWriter to UTF-8, too. CSVSampleWriter inherits from AbstractSampleWriter, which initialises its writers with ISO-8859-1. Should we change AbstractSampleWriter, too? Or only change CSVSampleWriter? What do you think?
Created attachment 34071 [details] Change encoding to UTF-8 for CSV Files in the report package
+1 for your patch Felix
Felix's patch solves the problem. Thanks.
Date: Thu Jul 28 17:36:07 2016 New Revision: 1754436 URL: http://svn.apache.org/viewvc?rev=1754436&view=rev Log: Change encoding to UTF-8 in reports for dashboard. Bugzilla Id: 59889 Modified: jmeter/trunk/src/core/org/apache/jmeter/report/core/AbstractSampleWriter.java jmeter/trunk/src/core/org/apache/jmeter/report/core/CsvSampleReader.java jmeter/trunk/xdocs/changes.xml
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/4029