Return-Path: Delivered-To: apmail-myfaces-users-archive@www.apache.org Received: (qmail 74526 invoked from network); 18 Jun 2008 11:22:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Jun 2008 11:22:06 -0000 Received: (qmail 81698 invoked by uid 500); 18 Jun 2008 11:22:04 -0000 Delivered-To: apmail-myfaces-users-archive@myfaces.apache.org Received: (qmail 81663 invoked by uid 500); 18 Jun 2008 11:22:04 -0000 Mailing-List: contact users-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Discussion" Delivered-To: mailing list users@myfaces.apache.org Received: (qmail 81651 invoked by uid 99); 18 Jun 2008 11:22:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Jun 2008 04:22:04 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of guy.bashan@gmail.com designates 66.249.82.231 as permitted sender) Received: from [66.249.82.231] (HELO wx-out-0506.google.com) (66.249.82.231) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Jun 2008 11:21:13 +0000 Received: by wx-out-0506.google.com with SMTP id h28so64251wxd.24 for ; Wed, 18 Jun 2008 04:21:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:to:subject:date:message-id :mime-version:content-type:x-mailer:thread-index:content-language :from; bh=4g6dXjKjVC2AEyLdQvAzTgjKIaMG3d6C5bOa8Mdbaoo=; b=u1foMbuCAzj2sV160HzOySDtEriqTcupS5kPHjBi72F/lgu3KVwJsrLjObT0PnOJwX Z9p4Imz7/Y+xlTBbwOG9i9NzCek7BmuNQyWhaOnOG1kZFKeioEvN/pK7TTNKRkxmiiis a7s6fFEciCAhBZJKfUv1RqI09UtCHLo45WC60= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=to:subject:date:message-id:mime-version:content-type:x-mailer :thread-index:content-language:from; b=AOpfS2/5hYRl01GgPXhSwuvYGDanXO81t6NjfNPPBHEGYfkY8W1Kbd0xNywrhV+NrH 1gIHg4aiwLx8Isgtyg6a4WTEPL3BKen6g30kSyj17XZ5six3DXzOp/vLPVsi41/05vLZ 5k+0WWNakMnwVnchm8aDe2e7s5llXgjqqmLPg= Received: by 10.70.11.1 with SMTP id 1mr579822wxk.26.1213788090034; Wed, 18 Jun 2008 04:21:30 -0700 (PDT) Received: from merdokPC ( [84.108.243.135]) by mx.google.com with ESMTPS id h40sm11734823wxd.18.2008.06.18.04.21.28 (version=SSLv3 cipher=RC4-MD5); Wed, 18 Jun 2008 04:21:29 -0700 (PDT) To: "'MyFaces Discussion'" Subject: [MyFaces] Internationalization Date: Wed, 18 Jun 2008 14:21:22 +0300 Message-ID: <000301c8d135$7173b760$545b2620$@com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0004_01C8D14E.96C0EF60" X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AcjRNW+/F3Q/Vs30TEyyfgnRd6T8Pw== Content-Language: he From: Guy Bashan X-Virus-Checked: Checked by ClamAV on apache.org This is a multipart message in MIME format. ------=_NextPart_000_0004_01C8D14E.96C0EF60 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi, I have configured my application to work with resource bundles and support internationalization. I added on the header on each of my jsp page the following line: <%@ page contentType="text/html;charset=UTF-8" language="java" %> Still, the values posted to my beans when using language other than Hebrew are corrupted. Only after adding the following lines in my main filter it seem to be working fine: request.setCharacterEncoding("UTF-8"); response.setCharacterEncoding("UTF-8"); response.setContentType("text/html; charset=UTF-8"); Am I missing something, or should those lines be executed for each request? Thanks, Guy. ------=_NextPart_000_0004_01C8D14E.96C0EF60 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi,=

 

I have configured my application to work with resource bundles and support internationalization.

I added on the header on each of my jsp page the following = line:

<%@ page contentType=3D"text/html;charset=3DUTF-8" = language=3D"java" %>

 

Still, the values posted to my beans when using language other than Hebrew are = corrupted.

Only after adding the following lines in my main filter it seem to be working = fine:

  &n= bsp;   request.setCharacterEncoding("UTF-8");

  &n= bsp;   response.setCharacterEncoding("UTF-8");

  &n= bsp;   response.setContentType("text/html; = charset=3DUTF-8");

 

Am I missing something, or should those lines be executed for each = request?

 

Thanks,

Guy.

------=_NextPart_000_0004_01C8D14E.96C0EF60--