Lets change that constant for 2.0. Its totally bogus. ENCODING_DOUBLE_BYTE and ENCODING_SINGLE_BYTE make sense. The constant has nothing to do with whether or not UTF_8 or 16 are used in truth. I just had no real clue about character encoding when I made it. What do you guys think? If yes, then I'll fix it. -- Andrew C. Oliver http://www.superlinksoftware.com/poi.jsp Custom enhancements and Commercial Implementation for Jakarta POI
http://jakarta.apache.org/poi For Java and Excel, Got POI? The views expressed in this email are those of the author and are almost definitely not shared by the Apache Software Foundation, its board or its general membership. In fact they probably most definitively disagree with everything espoused in the above email. > From: "Robert Lowe" <[EMAIL PROTECTED]> > Reply-To: "POI Users List" <[EMAIL PROTECTED]> > Date: Fri, 19 Dec 2003 23:29:59 +0800 > To: "POI Users List" <[EMAIL PROTECTED]> > Subject: RE: Character encoding > > You need to set UTF-16 encoding for each cell, like this: > > HSSFCell cell = ...; > cell.setEncoding(HSSFCell.ENCODING_UTF_16); > > > > Best regards, > > Robert Lowe > http://RMLowe.com/ > > > > -----Original Message----- > From: T " <[EMAIL PROTECTED]> [mailto:T " > <[EMAIL PROTECTED]>] > Sent: Friday, December 19, 2003 11:03 PM > To: [EMAIL PROTECTED] > Subject: Character encoding > > > Hi, > I am new to POI and I am using HSSF for now. I create > xls files but there is a problem with character > encodings, when I send Turkish characters from my java > class to xls file I can not see them properly, but > when I open the file and type the same characters > manualy there is no problem. I think there is some > setting values but I could not find them. Can anyone > help? > > Thanks > > __________________________________ > Do you Yahoo!? > New Yahoo! Photos - easier uploading and sharing. > http://photos.yahoo.com/ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
