You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Adam Greene <ag...@iq-2000.com> on 2005/09/05 19:40:49 UTC

Re: Localization: problem with charset

The problem is that windows runs under a different base codepage, and Gentoo 
(if like FC4) runns under UTF-8.  Which means that you pages, when stored on 
windows, were written as the wrong codepage.  If you are using Eclipse, you 
could switch your text editors to write UTF-8 instead and that might fix it. 
I had the same problem and eventually just ran all my files through 
native2ascii to avoid the headache.  There is also the option of specifying 
within your .application/.page/.jwc, etc files the codepage to use for the 
HTML template, it is org.apache.tapestry.template-encoding and you can also 
put org.apache.tapestry.template-encoding_de, 
org.apache.tapestry.template-encoding_fr, etc to indicate the encoding to 
use for a specified localized HTML template.
----- Original Message ----- 
From: "Ted Steen" <te...@gmail.com>
To: "Tapestry users" <ta...@jakarta.apache.org>
Sent: Tuesday, August 30, 2005 10:26 AM
Subject: Localization: problem with charset


Hi.

On my developer box (windows) the swedish characters displayed as they 
should.
But now when I deploy the application (gentoo linux) the characters
are all messed up (replaced by ??).
I have tried to use both iso-8859-1 and utf8 on my .properties files,
but to no avail.

So the problem occurs when the application is running on the same type
of webserver but a different OS.

-- 
/ted

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org