I suspect that it would be related to just the default encodings of Solaris (EUC_JP).
Have you ever experienced such a transformation? (EUC_JP => Shift_JIS / vice versa) I suspect that it is not related to POI itself. (Not sure. I do not have Solaris environment) Make sure the CodePage, also. -- On Wed, 22 Oct 2003 18:53:48 +0530 "Mudit Gupta" <[EMAIL PROTECTED]> wrote: > > > Hi All, > > We are planning to use POI for creating an XLS file from a J2EE based > application. > > The application server is WebLogic 8.1, OS is Solaris 8. > > However, the XLS to be created will contain Japanese strings encoded in > Shift JIS encoding. > > After checking the POI API, what we found there is no place where one > can specify the encoding of the XLS file to be created. Typically it is > done through OutputStreamWriter of java.io. However, the relevant APIs > (wb.create(java.io.OutputStream stream))in POI, which can be used to > write strings in the XLS file, accepts only OutputStream object. > > In this situation, can anyone please let us know how POI can be used to > create a XLS file with Japanese strings encoded in Shift_JIS ? > > Regards, > Sourav --------------------------------------------------------------------- Tetsuya Kitahata -- Terra-International, Inc. E-mail: [EMAIL PROTECTED] http://www.terra-intl.com/ Apache Software Foundation Committer: http://www.apache.org/~tetsuya/ fingerprint: E420 3713 FAB0 C160 4A1E 6FC5 5846 23D6 80AE BDEA --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]