Can Read Chinese Characters on SS but NOT on the Output File, Why?
I have problem to get Chinese characters displayed correctly in the output file. All I get is ??. The strange thing is I can see the Chinese characters from the last response or test pattern of ss by turning off tidy, so I think the problem occurs when the values are write to the output file. Any idea how to fix this? Thank you!
How are you writing to the
How are you writing to the output? Using the CSVWriter method, or just a script?
It could also be how you open the file, e.g. Excel before 2010 took some configuring to set character sets.
Output File
I don't reallly know the difference b/t CSVWriter and script. In the write to file script, I have codes like the following.
outputFile = session.getName() + ".csv";
out.write( dataRecord.get( "DATA" )+ "," );
My Excel version is Excel 2007. I have tried to open the file with notepad and it also shows ?? instead of the correct Chinese characters.
I am pretty sure that my Excel can save and display Chinese characters because I have done that before.