How to write Japanese characters in excel using poi in java? -
i using poi write excel sheet facing trouble when try write japanese character in excel.some ascii characters printed instead of japanese . tried in many way solve can't. can 1 me. here code. public void readexcel() throws ioexception { workbook = new hssfworkbook(); worksheet = workbook.createsheet("fieldcount"); hssffont font = workbook.createfont(); font.setcolor(hssffont.color_red); font.setboldweight(hssffont.boldweight_bold); // create style hssfcellstyle cellstyle = workbook.createcellstyle(); cellstyle.setfont(font); hssfrow row1 = worksheet.createrow(0); hssfcell cella1 = row1.createcell((short)0); cella1.setcellstyle(cellstyle); cella1.setcellvalue("object type"); hssfcell cella2 = row1.createcell((short)1); cella2.setcellstyle(cellstyle); cella2.setcellvalue("object name"); hssfcell cella3 = row1.createcell((short)2); cella3.setcellstyle(cellstyle); cella3.setcellvalue(...