You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Hacer Soran <hs...@yahoo.com> on 2005/12/01 11:32:44 UTC
template encoding for multi-language support
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.
Re: template encoding for multi-language support
Posted by Ron Piterman <rp...@gmx.net>.
I am also having some problems with encodings now - but I *thing*
whenever you get this kind of problem its because somewhere along the
way some configuration is wrong - don"t know if you"re using property
files. are they saved in the right encoding? are your templates saved in
the right encoding? etc.
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 <rp...@gmx.net> 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: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>
>
>
>
> ---------------------------------
> Win a Yahoo! Vespa NEW - Yahoo! Cars has 3 Vespa LX125s to be won Enter Now!
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Re: template encoding for multi-language support
Posted by Leonardo Quijano Vincenzi <le...@dtqsoftware.com>.
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 <rp...@gmx.net> 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: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>
>
>
>
> ---------------------------------
> 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: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Re: template encoding for multi-language support
Posted by Hacer Soran <hs...@yahoo.com>.
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 <rp...@gmx.net> 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: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
---------------------------------
Win a Yahoo! Vespa NEW - Yahoo! Cars has 3 Vespa LX125s to be won Enter Now!
Re: template encoding for multi-language support
Posted by Ron Piterman <rp...@gmx.net>.
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: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org