Hi youll have to report a bugzilla - http://jmeter.apache.org/issues.html There appears to be a problem with CsvSampleReader - It hardcodes ISO-8859-1
regards deepak On Thu, Jul 28, 2016 at 6:53 AM, harry_no_spot <[email protected]> wrote: > Many Many encodings..... It's a lot of pain! The emperor of Qin dynasty is > a great man, today 13 billion people write same language, communicate with > no pain. > > Can anyone clarify the encoding in Jmeter? > 1. in jmeter.log > jmeter.JMeter: file.encoding=xxx > can be defined by passing -Dfile.encoding=xxx to jmeter startup script. > but what's the meaning? > > jmeter.JMeter: Default Locale=xx > jmeter.JMeter: JMeter Locale=xx > Only affect gui appearence? I don't care about these two. > > jmeter.samplers.SampleResult: sampleresult.default.encoding is set to xxx > can be defined in jmeter.properties. I think when you manipulate > SampleResult, (i.e setResponseData() or setResponseMessage()) it will be > useful and neccesary. > > jmeter.save.SaveService: Using SaveService properties file encoding xxx > default is UTF-8? can be defined in jmeter.properties? > #jmeter.save.saveservice.encoding=false ? > > 2. in saveservice.properties > It says JMETER INTERNAL USE ONLY. and there is 1 line: > # Character set encoding used to read and write JMeter XML files and CSV > results > # > _file_encoding=UTF-8 > So it means *.jmx & *.csv(listener result file) are all saved with UTF-8 > encoding? > > 3. in reportgenerator.properties > NOTHING about encoding! I encounter a problem here. see: > there is chinese characters in my listener result csv file. It's UTF-8 > encoded, and displayed OK in any text editor. > then I run jmeter to generate report, the HTML page display junk character > where it should be beautiful chinese character. > I do many things. to change encoding of HTMLpage, to change encoding in > jmeter everywhere can be changed, BUT get nothing... > > the junk characters is like: ³Âѩ÷ > I decide that It's originally correctly GBK encoding, but wrongly parsed > (by jmeter report function?) using ISO-8859-1 and then convert to UTF-8. > then it be like this ugly characters. > > plz help. >
