Hi José,

the java files seem to be UTF-8. At least Eclipse tells me so, and if I write some of the special characters to stdout (from a test case, not running in Tomcat), everything is fine.

Thanks,

Christoph

On Dec 23, 2008, at 15:05 , José Paumard wrote:

Hello Christoph,

Just a tought, but could it come from the encoding of your .java file ? It is UTF-8 too, as .tml and .propreties are ?

José

Christoph Jäger a écrit :

Hi,

I have a strange issue with character encoding. I use Tapestry 5 on a Tomcat 6.0.18 installation. No difference between java5 or java6, MacOSX or Linux.

Special characters on my pages look fine when they come from a .tml file, whne they come from a .properties file used for translations, and when they come from a database. They get garbled however if they come directly from some Java class. As an example a page class with the following method:

public String getSomeString() {
 return "Water boils at 100 °C.";
}

and this in the corresponding .tml file:

Remember: ${someString}

creates output like:

Remember: Water boils at 100°C.

Maybe it's not even a Tapestry issue, but a Tomcat one?

Thanks,

Christoph Jäger



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org





---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to