Hey there,

I have a problem reading Japanese text from an Excel sheet in order to save the content read into a database. How do I read the Japanese text into a String using cell.getRichTextValue()? Here is my code:

HSSFRow japanNamesRow = sheet.getRow(i + 1);
                        HSSFCell currentCell = japanNamesRow.getCell(7);
                        currentCell.setEncoding(HSSFCell.ENCODING_UTF_16);
                        japanNames[i] = 
currentCell.getRichStringCellValue().getString();

Thanks for your help and all the best
Kai


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to