Make sure you are saving files in UTF-8 and specifying the template encoding in XXX.application:

http://jakarta.apache.org/tapestry/UsersGuide/configuration.html#configuration.app-property-source

Something like this:

   <meta key="org.apache.tapestry.template-encoding"
         value="utf-8" />
   <meta key="org.apache.tapestry.output-encoding"
         value="utf-8"/>

Then make sure your files are saved in UTF-8 (in Windows that's a problem with all the crap editors out there - including Eclipse's one). Now, there is a known bug in Tomcat when using UTF-8 on the exception page. For that one Tapestry has a config option.

Check:

http://issues.apache.org/jira/browse/TAPESTRY-607?page=all


Hacer Soran wrote:
The special chars in the page came out with "?"  that's why I couldn't use it. 
The text coming from the db are ok but  static ones were the problem. I suppose I need to 
use the numeric char  reference in the template for the static text.
I think, the problem still exists for the chars that are not in UTF-8. Am I missing a point here?

Ron Piterman <[EMAIL PROTECTED]> wrote:  why not use UTF8 (unicode) ?

Hacer Soran wrote:
 Hi,
I am developing an international site which requires to display text in all possible languages. Currently it supports Turkish and French. I have used ISO-8859-9 to support both. I need to Add other languages soon e.g. Greek which is ISO-8859-7. Is it possible to change the template-encoding in the application or use one to support all? Thanks in advance, your help is much appreciated.
  H
---------------------------------
To help you stay safe and secure online, we've developed the all new Yahoo! 
Security Centre.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




                
---------------------------------
Win a Yahoo! Vespa NEW - Yahoo! Cars has 3 Vespa LX125s to be won Enter Now!


--
Ing. Leonardo Quijano Vincenzi
DTQ Software



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to