Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 60706 invoked from network); 7 Jan 2011 23:03:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 7 Jan 2011 23:03:20 -0000 Received: (qmail 43329 invoked by uid 500); 7 Jan 2011 23:03:18 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 43289 invoked by uid 500); 7 Jan 2011 23:03:18 -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 43281 invoked by uid 99); 7 Jan 2011 23:03:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Jan 2011 23:03:18 +0000 X-ASF-Spam-Status: No, hits=1.5 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of davelnewton@gmail.com designates 209.85.215.176 as permitted sender) Received: from [209.85.215.176] (HELO mail-ey0-f176.google.com) (209.85.215.176) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Jan 2011 23:03:11 +0000 Received: by eyz10 with SMTP id 10so7544676eyz.35 for ; Fri, 07 Jan 2011 15:02:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=1ONFy4qr6BIs4LcFypaF5XP63PtnWfeOHIKggMtfyUE=; b=Ky4v2COmiXHpgDZKZolwlXKOnXWrstfePhWCBVjUYkFn2ew7ZCP4sE54Pdx7SWsv9f NwgtkCFH+POOOveCz2W6eLKsgMjolrEJtYltTYRo3cL2PRX2WUY/fMLaOndrTSkjEARs a7sw7Qxa91OxOIQ8Ia/dkEMyl8M4SuJzSo/7U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=m63ZYLRLDf/6DYZCsS8O66Y6g52tzgNnjCGXpOL98CKMpgRDqbC1bGSm1M78/k6wxs hQMsS8lpV5OrLLQLSYmbGCr4hmx5luyuJEYGGjhsWqQwUYV3PAlGYGnUn4qNz3RTiYPW d4/mfMvBxPrx7NPrlECFWwUh1OBm71EN3NVrs= MIME-Version: 1.0 Received: by 10.213.34.208 with SMTP id m16mr20313542ebd.65.1294441371548; Fri, 07 Jan 2011 15:02:51 -0800 (PST) Received: by 10.213.34.83 with HTTP; Fri, 7 Jan 2011 15:02:51 -0800 (PST) In-Reply-To: References: Date: Fri, 7 Jan 2011 18:02:51 -0500 Message-ID: Subject: Re: Struts 2 - s:text garbled From: Dave Newton To: Struts Users Mailing List Content-Type: multipart/alternative; boundary=0015174c1038223b150499499e6f X-Virus-Checked: Checked by ClamAV on apache.org --0015174c1038223b150499499e6f Content-Type: text/plain; charset=ISO-8859-1 Out of curiosity, did you try after using the native2ascii (or whatever it's called) tool? (I've never actually tried non-encoded resource files, but I'm usually using a tool to create them, so I'm not always sure what I'm actually ending up with, because I'm lazy.) Dave On Fri, Jan 7, 2011 at 5:51 PM, Rubens Gomes wrote: > Hello, > > I already spent several hours on this problem. And I have done some > search on the mailing lists as well. > > I am using the latest Struts 2 (2.2.1) along with struts-tiles JSP plugin > (2.2.2), and I running into a problem with rendering garbled foreign > characters from s:text. If I remove the pageEncoding tag from the top of > the JSP page, the works okay. > > This line when added to the top of the JSP causes to render > incorrect garbled Portuguese characters. > > <%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" > language="java" %> > > All my resource files are saved in UTF-8. And so is my JSPs. And I also > have the following on all pages. > > > > And I have following settings too: > > struts.xml: > ... > > ... > > freemaker.properties: > default_encoding=UTF-8 > > > -- > Rubens > > --0015174c1038223b150499499e6f--