Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 18824 invoked by uid 500); 20 Aug 2001 19:00:26 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk Reply-To: tomcat-user@jakarta.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 18759 invoked from network); 20 Aug 2001 19:00:22 -0000 Received: from mail1.expro.pl (217.96.124.17) by h31.sny.collab.net with SMTP; 20 Aug 2001 19:00:22 -0000 Received: (qmail 6044 invoked from network); 20 Aug 2001 19:00:27 -0000 Received: from unknown (HELO s2) (217.96.124.40) by mail1.expro.pl with SMTP; 20 Aug 2001 19:00:27 -0000 From: =?iso-8859-2?Q?Marcin_Jasku=B3a?= To: Subject: RE: Problem with page encoding for ISO-8859-2 Date: Mon, 20 Aug 2001 21:00:14 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 In-Reply-To: X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Hi Yes, the data in the dB are stored as Latin2 so it should be the same like for ISO-8859-2. There was no this problem with JServ so the problem is in encoding the data by Tomcat (I think). Moreover, Tomcat writes new data to the dB changing characters to the Unicode: � -> ł (6 characters!!!) so I cannot sort the data now in the SQL! Marcin >-----Original Message----- >From: Martin van den Bemt [mailto:martin@isallineed.org] >Sent: Monday, August 20, 2001 8:42 PM >To: tomcat-user@jakarta.apache.org >Subject: RE: Problem with page encoding for ISO-8859-2 > > > >- Is the data in the db stored as ISO-8859-2 ? (looks like it is stored is >8859-1) >- Use UTF-8 to store the data, this way you can use UTF-8 as well >as the ISO >content type that corresponds with the data. > >If you gonna use utf 8 and run into a lot of MalformedInputExceptions you >can be sure that the data is stored as 8859-1.. > >Mvgr, >Martin >