Return-Path: Delivered-To: apmail-jakarta-poi-user-archive@www.apache.org Received: (qmail 99776 invoked from network); 3 Nov 2003 14:12:22 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 3 Nov 2003 14:12:22 -0000 Received: (qmail 56904 invoked by uid 500); 3 Nov 2003 14:12:16 -0000 Delivered-To: apmail-jakarta-poi-user-archive@jakarta.apache.org Received: (qmail 56891 invoked by uid 500); 3 Nov 2003 14:12:16 -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 56877 invoked from network); 3 Nov 2003 14:12:16 -0000 Received: from unknown (HELO main.gmane.org) (80.91.224.249) by daedalus.apache.org with SMTP; 3 Nov 2003 14:12:16 -0000 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AGfRI-00075e-00 for ; Mon, 03 Nov 2003 15:12:16 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: poi-user@jakarta.apache.org Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AGfRH-00075W-00 for ; Mon, 03 Nov 2003 15:12:15 +0100 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AGfRH-0001us-00 for ; Mon, 03 Nov 2003 15:12:15 +0100 From: Morten Subject: Re: Platform dependent encoding (problems running on linux) Date: Mon, 03 Nov 2003 15:12:13 +0100 Lines: 32 Message-ID: References: <1067867385.9439.34.camel@IT-avik.in.itellix.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en In-Reply-To: <1067867385.9439.34.camel@IT-avik.in.itellix.net> Sender: news X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Avik Sengupta wrote: > Hi, > > First up, which version are you using? SSTRecord and associated have > changed quite a bit over the last few versions, particularly with > respect to double byte char handling. Ok, I'll try 2.0 RC1, was using 1.5.1. > Also, check the default encoding in your platform/shell. That sometimes > messes up stuff (it shouldnt, this is only a workaround to a bug..). in > RedHat 8 for eg, default encoding is UTF-8. Change it to ISO8859-1 (LANG > env), and see if it helps. Check what is the encoding in windows (i dont > know how .... I think there is a java system property that can tell > you).... file.encoding, on Linux (RedHat 8) it's UTF-8 and on windows it's Cp1252. Iso-8859-1 is not good enough though, I need to be able to work with arabic also. > In summary, I suspect that your problem may be solved by upgrading, or, > as a workaround, by setting the proper default encoding. I'll try upgrading for now and get back with an update - thanks for the tips :) Br, Morten --------------------------------------------------------------------- To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: poi-user-help@jakarta.apache.org