[Zope] zope, wap and nationalities

Jonathan Hobbs toolkit at magma.ca
Fri Jan 21 07:21:35 EST 2005


----- Original Message -----
From: "Jaroslav Lukesh" <lukesh at seznam.cz>
> Do you have somebody tip for encoding national characters into wap?
>
> For example, character in latin-2 interpreted as "č" need to be
interpreted in
> utf8 for wml as "&#x010D;"
>
> I dont discover any python simple way how to recode these characters into
wml,
> like
>
> <dtml-var "_.str.some_convert('string with ěščřž characters', iso8859-2,
> utf8_for_wap)">


Here's a quick tutorial on converting characters in python:

http://www.vandervossen.net/2003/07/unicode_in_python


HTH

Jonathan




More information about the Zope mailing list