[Zope] Convertion to named character entities

Andreas Jung lists at zopyx.com
Sun Oct 26 10:22:20 EDT 2008


On 26.10.2008 15:10 Uhr, Jakob Schou Jensen wrote:
> Is there any way to convert special characters in a string to named
> character entities? The string is obtained from a form field.
>
>

Look at the htmlentitydefs module of Python.

-aj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lists.vcf
Type: text/x-vcard
Size: 316 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20081026/b35ccea8/attachment.vcf 


More information about the Zope mailing list