Return-Path: Delivered-To: apmail-xml-general-archive@xml.apache.org Received: (qmail 16092 invoked by uid 500); 6 Jun 2001 16:31:12 -0000 Mailing-List: contact general-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: general@xml.apache.org Delivered-To: mailing list general@xml.apache.org Received: (qmail 15929 invoked from network); 6 Jun 2001 16:30:42 -0000 Message-ID: <20010606163044.26631.qmail@web3303.mail.yahoo.com> Date: Wed, 6 Jun 2001 09:30:44 -0700 (PDT) From: Kartik Pandya Subject: Re: UTF-8/Latin-1 problem To: general@xml.apache.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N We had a similar problem - we were unable to show German characters on browser and we though it's a browers problem. But I think you must try compiling your Java classes with this option : "javac -Dfile:codepage=1252 yourclass.java" It should solve the problem. - KDP --- Britta_Sch�le wrote: > Hi, > I'm working on a project where xml's might have all > sorts of encodings. The > parser deals with the UTF-8 stuff just fine, but > when it gets a Latin-1 > (iso-8859-1), it produces useless characters unless > I set the encoding > explicitly. > Now I can't quite believe that the parser won't read > the encoding from the > XML, so my question is, am I missing something? Is > there a way to get the > parser to sort of "autodetect" an XML file's > encoding? > I'm currently testing on the SAX2SAX sample in the > Xalan-Java 2 download. > Thanks loads in advance, > Britta > > --------------------------------------------------------------------- > In case of troubles, e-mail: > webmaster@xml.apache.org > To unsubscribe, e-mail: > general-unsubscribe@xml.apache.org > For additional commands, e-mail: > general-help@xml.apache.org > __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/ --------------------------------------------------------------------- In case of troubles, e-mail: webmaster@xml.apache.org To unsubscribe, e-mail: general-unsubscribe@xml.apache.org For additional commands, e-mail: general-help@xml.apache.org