I used the method setSheetName(sheetNum,sheetName,HSSFWorkbook.ENCODING_UTF_16) from the class HSSFWorkbook to set a sheet name in Japanese. But when I opened the file, the sheet name showed gabbled string. The POI version I used is 1.8 dev 9/19/02.
Created attachment 4009 [details] [PATCH] BoundSheetRecord modified to support sheetname in DBCS
I just submitted a patch for the class BoundSheetRecord.java. Since I'm very new to CVS, the diff file was created using my local(downloaded) POI source against my changes. The diff text showed incorrect POI source version as 1.1.1.1. It should be 1.8 dev 09/19/02. The changes I made was tested working in a Japanese NT.
Damn I wish [PATCH] had been in front, I am almost certain someone would have applied this. Though it would be REAL nice if there were a TestCase for it.
This code has completely changed now. I believe the original issue is fixed so I'm resolving this bug.