| Author |
Problem in writing japanese characters into an XLS file through a "JAVA" program
|
Sat Nar
Ranch Hand
Joined: Oct 22, 2004
Posts: 83
|
|
Friends, iam in the process of generating EOD reports.The data in the table is to be populated into XSL file.Iam using HSSF and POI for this.Everything is fine.But when populating these japanese characters, its populated as junk characters.I even tried storing these japanese characters in the table in NCR format.But iam not able to reconvert back these NCR format into Japanese characters.The xsl file creation should happen only by JAVA program.Kindly tell me how japanese characters should be stored in the table whether in NCR format or in anyother format and how to populate japanese characters in XLS.Awaiting your replies. Regards, Sathya
|
 |
Stuart Ash
Ranch Hand
Joined: Oct 07, 2005
Posts: 637
|
|
First off, it's called Java, not JAVA. Can you tell more about the encoding settings in your program.
|
ASCII silly question, Get a silly ANSI.
|
 |
Vlado Zajac
Ranch Hand
Joined: Aug 03, 2004
Posts: 244
|
|
HSSFCell documentation, method setEncoding. Set it to ENCODING_UTF_16.
|
 |
Sat Nar
Ranch Hand
Joined: Oct 22, 2004
Posts: 83
|
|
Hi, thanka a lot for your reply.Its perfectly working now. Regards, Sathya
|
 |
 |
|
|
subject: Problem in writing japanese characters into an XLS file through a "JAVA" program
|
|
|