Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 54152 invoked from network); 29 Oct 2004 19:43:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 29 Oct 2004 19:43:48 -0000 Received: (qmail 97032 invoked by uid 500); 29 Oct 2004 19:43:13 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 96986 invoked by uid 500); 29 Oct 2004 19:43:12 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 96973 invoked by uid 99); 29 Oct 2004 19:43:12 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [209.10.25.250] (HELO mail.mypublisher.com) (209.10.25.250) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 29 Oct 2004 12:43:11 -0700 Received: from snalgonda ([209.73.202.202]) by mail.mypublisher.com with Microsoft SMTPSVC(5.0.2195.5329); Fri, 29 Oct 2004 15:51:04 -0400 From: "Shilpa Nalgonda" To: "Tomcat Users List" Subject: RE: Internationalization of characters --UTF8 encoding Date: Fri, 29 Oct 2004 15:37:32 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <20041029142936.84238.qmail@web13921.mail.yahoo.com> importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-OriginalArrivalTime: 29 Oct 2004 19:51:04.0359 (UTC) FILETIME=[9FC64B70:01C4BDF0] X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Our java Application takes UTF-8 encoded unicode data and sores in a Java String , and should insert that into Oracle8.1.7 database. Oracle database has US7ASCII encoding. So when i insert data some of the characters are being lost, and i see '?' being inserted into database. How can i convert this UTF-8 encoded java String into ASCII so that database can load it. Can anyone suggest what to do... --- Shilpa Nalgonda wrote: > can u point me to a resource how i can do it. > > -----Original Message----- > From: Evgeny Gesin [mailto:evgenygesin@yahoo.com] > Sent: Friday, October 29, 2004 9:42 AM > To: Tomcat Users List > Subject: Re: Internationalization of characters > --UTF8 encoding > > > > .. is supposed to take japanese characters an > insert > > them into database. Is there any setting in > Tomcat4 > > where i should be giving the encoding option. > > You can specify parameters for SQL driver when you > define DataSource in Tomcat's server.xml. I think > most > of Oracle drivers can process UTF-8, without the > needs > for such parameters, but MySQL 3.xx, for example, > needs such parameters... > > Evgeny > Javadesk / AllTelescopes > > > > __________________________________ > Do you Yahoo!? > Yahoo! Mail Address AutoComplete - You start. We > finish. > http://promotions.yahoo.com/new_mail > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > tomcat-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: > tomcat-user-help@jakarta.apache.org > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > tomcat-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: > tomcat-user-help@jakarta.apache.org > > __________________________________ Do you Yahoo!? Yahoo! Mail Address AutoComplete - You start. We finish. http://promotions.yahoo.com/new_mail --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org