Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 88350 invoked from network); 23 Jan 2008 16:35:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Jan 2008 16:35:35 -0000 Received: (qmail 87581 invoked by uid 500); 23 Jan 2008 16:35:16 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 87555 invoked by uid 500); 23 Jan 2008 16:35:16 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 87544 invoked by uid 99); 23 Jan 2008 16:35:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Jan 2008 08:35:16 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jak-struts-user@m.gmane.org designates 80.91.229.2 as permitted sender) Received: from [80.91.229.2] (HELO ciao.gmane.org) (80.91.229.2) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Jan 2008 16:34:49 +0000 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JHiYu-0003CU-0s for user@struts.apache.org; Wed, 23 Jan 2008 16:34:52 +0000 Received: from cpe0016b5ef7ea1-cm0014e88ef4b4.cpe.net.cable.rogers.com ([99.233.20.4]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 23 Jan 2008 16:34:52 +0000 Received: from laurie by cpe0016b5ef7ea1-cm0014e88ef4b4.cpe.net.cable.rogers.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 23 Jan 2008 16:34:52 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: user@struts.apache.org From: Laurie Harper Subject: Re: struts request encoding to utf-8 problem Date: Wed, 23 Jan 2008 11:34:44 -0500 Lines: 35 Message-ID: References: <15041079.post@talk.nabble.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: cpe0016b5ef7ea1-cm0014e88ef4b4.cpe.net.cable.rogers.com User-Agent: Thunderbird 2.0.0.9 (Macintosh/20071031) In-Reply-To: <15041079.post@talk.nabble.com> Sender: news X-Virus-Checked: Checked by ClamAV on apache.org wessam wrote: > i'm using struts 1.1, oracle 10g environment > i'm facing a problem that i can't save special characters as "=E1=BA=BB= , =E2=82=AC" from the > page to database correctly though i used all the possible ways to set t= he > encoding to utf-8 > > [...] >=20 > the point is the the characters reaches the action class corectly but w= hen i > save to datbase an retrieve again it's viewed corrupted in the page=20 You've partially narrowed down the problem, which is good; now you need=20 to narrow it down the rest of the way: - is the data written to the database correctly? (try verifying outside=20 or Struts) - is the data retrieved from the database correctly in your action? In other words, you need to determine if the problem is with the save to = or restore from the database, or whether the problem is with=20 displaying the data from Struts. My guess would be that it's the save/retrieve, since you didn't mention=20 anything you'd done to ensure communication with the database was=20 preserving correct character encoding, in which case it would be outside = the scope of Struts. L. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org