On 29 Mar 2010, at 2:21 pm, Thiago H. de Paula Figueiredo wrote:
On Mon, 29 Mar 2010 09:32:05 -0300, Andreas Andreou
<andy...@di.uoa.gr> wrote:
I've been bitten a few times in the past by having such strings in
the
java files
My first language is Portuguese, which has a lot of accented
characters, and I don't have this problem. But there's one catch:
you have to instruct your IDE to use UTF-8 for your templates,
Tapestry property files and *classes*. I've just created a simple
class that returns a string with accented characters and it worked
flawlessly. I suggest Mark Allan to check which encoding is used in
the files, as Eclipse uses the operating system default one for
source classes, and also check the XML declaration.
The encoding was the first thing I checked when I noticed I wasn't
getting the correct output. I'm not using an IDE - just a plain text
editor which supports many text encoding formats and compiling/running
from the command line. All my .java, .xml and .tml files are UTF-8.
How do I check the encoding of my class files and under what
circumstances would it differ from the input java files?
Thanks
Mark
--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org