Return-Path: Delivered-To: apmail-jakarta-poi-user-archive@www.apache.org Received: (qmail 8493 invoked from network); 18 May 2004 17:31:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 18 May 2004 17:31:50 -0000 Received: (qmail 80424 invoked by uid 500); 18 May 2004 17:32:08 -0000 Delivered-To: apmail-jakarta-poi-user-archive@jakarta.apache.org Received: (qmail 80296 invoked by uid 500); 18 May 2004 17:32:07 -0000 Mailing-List: contact poi-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "POI Users List" Reply-To: "POI Users List" Delivered-To: mailing list poi-user@jakarta.apache.org Received: (qmail 80264 invoked by uid 98); 18 May 2004 17:32:06 -0000 Received: from klute@rainer-klute.de by hermes.apache.org by uid 82 with qmail-scanner-1.20 (clamuko: 0.70. Clear:RC:0(194.25.134.82):. Processed in 0.36514 secs); 18 May 2004 17:32:06 -0000 X-Qmail-Scanner-Mail-From: klute@rainer-klute.de via hermes.apache.org X-Qmail-Scanner: 1.20 (Clear:RC:0(194.25.134.82):. Processed in 0.36514 secs) Received: from unknown (HELO mailout05.sul.t-online.com) (194.25.134.82) by hermes.apache.org with SMTP; 18 May 2004 17:32:06 -0000 Received: from fwd01.aul.t-online.de by mailout05.sul.t-online.com with smtp id 1BQ8RG-0006uY-01; Tue, 18 May 2004 19:31:38 +0200 Received: from tommy.rainer-klute.de (Tzsv34ZVreb6JsVuDWcctO+YtJ9n9rVdIQjGHUEKDyWBkl9dgtYowX@[80.135.119.77]) by fmrl01.sul.t-online.com with esmtp id 1BQ8R0-1LbPu40; Tue, 18 May 2004 19:31:22 +0200 Received: from heike.rainer-klute.de (heike.rainer-klute.de [192.168.10.8]) by tommy.rainer-klute.de (Postfix) with ESMTP id 125FF44710 for ; Tue, 18 May 2004 19:31:22 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by heike.rainer-klute.de (Postfix) with ESMTP id BC84926FE2 for ; Tue, 18 May 2004 19:31:21 +0200 (CEST) Subject: Re: codepage support for document properties with POI 2.5 From: Rainer Klute To: POI Users List In-Reply-To: <0AE50E462665EB4898CACAC8DA16982251A281@DAEMSG03.eur.ad.sag> References: <0AE50E462665EB4898CACAC8DA16982251A281@DAEMSG03.eur.ad.sag> Content-Type: text/plain; charset=ISO-8859-15 Organization: Rainer Klute IT-Consulting GmbH Message-Id: <1084901480.4017.16.camel@heike.rainer-klute.de> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.3 Date: 18 May 2004 19:31:21 +0200 Content-Transfer-Encoding: 8bit X-Seen: false X-ID: Tzsv34ZVreb6JsVuDWcctO+YtJ9n9rVdIQjGHUEKDyWBkl9dgtYowX@t-dialin.net X-Spam-Rating: hermes.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Am Mon, 2004-05-17 um 14.15 schrieb Michael.Gesmann@softwareag.com: > Hi everybody, > > the jakarta news page (http://jakarta.apache.org/site/news/news-2004-1stHalf.html) mentions that POI 2.0 added codepage support for HPSF. > Now, I have downloaded POI 2.5 from http://www.apache.de/dist/jakarta/poi/release. With this release codepage support does not work as I would expect it to work (German document properties with Umlauts do not appear as Umlauts on a machine with a non-german default encoding, e.g. ISO646-US) POI 2.5 should of course give you at least what 2.0 gives you, if not more. If you have a problem with codepage support in 2.5, I'd like to see a sample document showing the error so I can fix it. Please submit a bug report to bugzilla ! > In the downloaded sources for POI 2.5 I find codepage support in the TO-DO-List > - see description in src\java\org\apache\poi\hpsf\package.html, > - see src\java\org\apache\poi\hpsf\TypeReader.java > * FIXME: Reading an 8-bit string should pay attention > * to the codepage. Currently the byte making out the > * property's value are interpreted according to the > * platform's default character set. > > Can anyone explain why it is no longer supported? > Is it worth to try a POI 2.0 version? If yes, where can I find it (the download pages only contain POI 2.5)? > Will there be a future release that (again) supports codepages? If yes, what is the expected release date? This is just an oversight in the documentation. POI 2.5 should support reading property values according to the document's codepage. However, you must use a Java version that also gives you sufficient codepage support since POI relies on it. This is the case with a J2SE from 1.4 upwards. And, of course, if you discover a bug, see above for bugzilla! Best regards Rainer Klute Rainer Klute IT-Consulting GmbH Dipl.-Inform. Rainer Klute E-Mail: klute@rainer-klute.de K�rner Grund 24 Telefon: +49 172 2324824 D-44143 Dortmund Telefax: +49 231 5349423 --------------------------------------------------------------------- To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: poi-user-help@jakarta.apache.org