Return-Path: Delivered-To: apmail-tapestry-users-archive@www.apache.org Received: (qmail 42666 invoked from network); 3 Dec 2008 20:41:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Dec 2008 20:41:12 -0000 Received: (qmail 81833 invoked by uid 500); 3 Dec 2008 20:41:20 -0000 Delivered-To: apmail-tapestry-users-archive@tapestry.apache.org Received: (qmail 81814 invoked by uid 500); 3 Dec 2008 20:41:20 -0000 Mailing-List: contact users-help@tapestry.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tapestry users" Delivered-To: mailing list users@tapestry.apache.org Received: (qmail 81803 invoked by uid 99); 3 Dec 2008 20:41:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Dec 2008 12:41:20 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of thiagohp@gmail.com designates 74.125.44.28 as permitted sender) Received: from [74.125.44.28] (HELO yx-out-2324.google.com) (74.125.44.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Dec 2008 20:39:49 +0000 Received: by yx-out-2324.google.com with SMTP id 3so1582533yxj.11 for ; Wed, 03 Dec 2008 12:40:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:to:subject:from :content-type:mime-version:references:content-transfer-encoding :message-id:in-reply-to:user-agent; bh=O6FIm31+UyJmGXfNwczjgi+VcSUug5KeccS8j16ZYZU=; b=igaZv8p++bjx2FDeGZceRI+kGeXhCQb8Gk0os647NgA+6s4moMvpXnyZge01Y+Xmsq BxQP7c4D0QFgKZpQl9EMBkUqa31rxX1eG4KgRqq9aK0h4ufWRG/Da4KNU0ROfuFmDMzs +xH+NzVzHf2RVLYyUatuXcqYB6lfOKWrFhBY8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:to:subject:from:content-type:mime-version:references :content-transfer-encoding:message-id:in-reply-to:user-agent; b=wiVyHKP1rNaoGv3h0RsSbQ8Qc+wjX5lIR08hwOCIubpUj8MUXDd3vY9LtoU7TW/lTQ dfCPBmSghr0deBUt0cB4n9UMjBpplUDHvYw171vAb0n2TeiE4nq/VwG6JBGWS1PQf0sP k/QE9AfJAiYG+pF9K9HM+gY1P+hg2SdpuBJ6E= Received: by 10.151.26.12 with SMTP id d12mr13827172ybj.196.1228336836421; Wed, 03 Dec 2008 12:40:36 -0800 (PST) Received: from headland (bhe201062191164.res-com.wayinternet.com.br [201.62.191.164]) by mx.google.com with ESMTPS id 58sm8389155rnw.7.2008.12.03.12.40.34 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 03 Dec 2008 12:40:35 -0800 (PST) Date: Wed, 03 Dec 2008 18:40:39 -0300 To: "Tapestry users" Subject: Re: [T5] 5.0.16 Spanish special characters From: "Thiago H. de Paula Figueiredo" Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-1 MIME-Version: 1.0 References: <5258d8d70812020631v4480d3c6n88426ec703d97de2@mail.gmail.com> <1228327119.4936c8cf15fc1@www.inbox.lv> Content-Transfer-Encoding: 7bit Message-ID: In-Reply-To: <1228327119.4936c8cf15fc1@www.inbox.lv> User-Agent: Opera Mail/9.62 (Win32) X-Virus-Checked: Checked by ClamAV on apache.org Em Wed, 03 Dec 2008 14:58:39 -0300, Imants Firsts escreveu: > Hi Ray! > > The properties files should be in ascii encoding and the unicode > characters should be escaped with \u, for example "\u0161" for š > character. JDK comes with native2ascii tool that does the conversion. That's not correct anymore. Since some Tapestry version I don't recall, the property files need to be UTF-8 encoded, so no conversion needs to be done. From http://tapestry.apache.org/tapestry5/guide/localization.html: "Properties File Charset Tapestry uses the UTF-8 charset when reading the properties files in a message catalog. This means that you don't have to use the Java native2ascii tool." -- Thiago H. de Paula Figueiredo Independent Java consultant, developer, and instructor Consultor, desenvolvedor e instrutor em Java http://www.arsmachina.com.br/thiago --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org For additional commands, e-mail: users-help@tapestry.apache.org