[Zope] unicode error in standard ZPT form

MIlos Prudek prudek at bvx.cz
Wed Mar 29 14:28:21 EST 2006


On Tuesday 28 of March 2006 23:48, MIlos Prudek wrote:
> I have a typical ZPT form that redisplays entered data if invalid data is
> entered:
>
> <input type="text" size="30" name="name"  tal:attributes="value
> request/name| nothing">
>
> Unfortunately it throws a Unicode exception if a Czech accented character
> is entered. Such as "s" with a hacek. Or "c" with a hacek. Possibly applies

Resolved. 

Problem caused by Czech characters in the Page Template.  Problem solved by 
replacing all Czech text with English text, and moving Czech translation to 
a .po file.

i.e.

<h2>Accented Czech</h2>

was replaced with

<h2 i18n:domain="mydomain" i18:translate="">English text</h2>

-- 
Milos Prudek


More information about the Zope mailing list