You have to bear in mind that the jvm uses the default charset when
READING a file before tapestry ever gets its hands on it. If you have
characters in a file that are incompatible with the default charset,
they can get mangled on their way in to the jvm, and no setting of
output parameters can p
Strange. There is a unit test that verifies precisely that. Since Tapestry
cannot be built without the correct execution of the unit tests, I suspect
that the problem is either the naming of the .application file or in the
version of Tapestry.
What happens when you have "-Dorg.apache.tapestry.te
I specify the option in WEB-INF/tapestry.application. I see you
already wrote that this didn't work for you ... don't know what to
tell you! It works for me.
I would like to give it a try. Also, where can I find a complete of
keys for Tapestry 4?
http://jakarta.apache.org/tapestry/UsersGu
Hi mb,
Thanks for the link to the configuration page.
The explanation of the problem was in my original email. I hard coded a few
chinese text in my UTF-8 encoded Home.html (see below), but the text didn't
get render properly in web browser. The "-Dfile.encoding=UTF-8" option fixed
it, but the
Hi Galam,
How do you get the data that is not outputted in the correct encoding?
I haven't seen an explanation of that in your messages, but I am
guessing that it is obtained from a file or from something like a
database. As a result the data is not read properly and is "mangled"
_before_ it r
Specifying the encoding in the *.application file doens't work (I've tried
all three encoding options below, none of them work).
http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd";>
The only thing that works is by passing the "-Dfile.encoding=UTF-8" option
to the java.exe
in your .application file
-Original Message-
From: Galam [mailto:[EMAIL PROTECTED]
Sent: Sunday, May 28, 2006 10:38 PM
To: Tapestry users
Subject: Re: Can't get Tapestry to work with UTF-8 encoding
Hi Paul,
Can you tell me where you specify the following options?
I would li
Hi Paul,
Can you tell me where you specify the following options?
I would like to give it a try. Also, where can I find a complete of
keys for Tapestry 4?
Thanks!
Galam.
On 5/28/06, Paul Cantrell <[EMAIL PROTECTED]> wrote:
This option works for me:
This has the advantage tha
This option works for me:
This has the advantage that you don't need control over the startup
params of the container's JVM.
P
On May 27, 2006, at 1:16 AM, Galam wrote:
Hi Sam,
Thank you so much for the quick response.
The jvm option "-Dfile.encoding=UTF-8" works perfectly!
Gala
Hi Sam,
Thank you so much for the quick response.
The jvm option "-Dfile.encoding=UTF-8" works perfectly!
Galam.
If you take dojo out of the page entirely, but serve it from the exact
same location, does it work correctly? I had some wierd issues with
the way java uses the default charset of the jvm when reading a file,
so even if tomcat (or any other java app) is set to handle utf-8,
things can still get g
Hi all,
I couldn't seem to make Tapestry to work with the UTF-8 encoding.
I am using Tomcat 5.5.12. As far as I know, the tomcat is setup correctly
because it has no problem returning UTF-8 responses for jsp and non-tapestry
HTML pages.
Here are my Home.page and Home.html.
Home.page
-
12 matches
Mail list logo