[Zope] escaping unicode in id

Giuseppe Bonelli giuseppe.bonelli@tiscali.it
Fri, 18 Jul 2003 19:56:55 +0200


Hi all,

has someone a quick&dirty recipe to clean-up/escape unicode chars (utf8)
from strings to be used as object's id ?

A simple encode('ascii') doesn't work if the string contains high chars.

TIA,

--peppo