That probably helps you if you are declaring the .page encoding to be UTF-8.
I.e.
<?xml version="1.0" encoding="UTF-8"?>

But you can set the encoding for templates globally by setting a property in
the .application file (and also locally for libraries, pages etc) with:
    <property name="org.apache.tapestry.template-encoding" value="UTF-8"/>

As mentioned by others, this has nothing to do with HTML entities.
Tapestry's default encoding is ISO-8859-1. (At least for T3.)

Cheers,
Nick.


Holger Stolzenberg wrote:
I had a similar problem. I am using tap4.0.2 but maybe this helps. I think you 
should try to specify the submit as an explicit component in the .page with the 
value as a component binding, like the following example:

<component id="MySubmit" type="Submit">
        <binding name="value" value="literal:Ändern" />
        <binding .... />
</component>

-----Ursprüngliche Nachricht-----
Von: Michael Siebert [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 29. November 2006 10:57
An: users@tapestry.apache.org
Betreff: Problems with the UTF-8 standard

Hi All,

I have the following problem:

My html-templates are designed with the UTF-8 standard For example the german 'ä' 
is coded as '&auml;'
But if the tapestry engine parses a submit-button component with an 'ä'
within the value (or label), this letter isn't parsed as 'ä' but as '&auml;'
because the '&' is parsed as '&amp;' and the rest as 'auml;' so the complete letter 
is transformed as '&amp;auml;' and this is the reason for the wrong view.

How can I deactivated the automatic parsing of the '&' and show the engine that 
the value of the submit-button is in UTF-8 standard?
The server runs with the UTF-8 standard and I have no chance to change this.
The css-file also has the UTF-8 code as every html-template.
I'm working with the Version 3.0.3.

Thank you very much in advance for your help!!

Best regards
Mike


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


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



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

Reply via email to