[Zope] filename contains umlaut
Gidon Friedman
gidon@zope.ch
Wed, 15 May 2002 12:10:52 +0200
hallo sigmund
i do this in the constructor:
<dtml-let table=3D"_.string.maketrans('. =F6=FC=E4=EF=D6=DC=C4','__ouaiOU=
A')"
newid=3D"_.string.translate(REQUEST['id'],table, badchars)">
... createInObjectManager with newid ...
... set properties ...
</dtml-let>
have fun
gidon
Siegmund Fuhringer wrote:
>=20
> hi...
>=20
> i'm unable to add a file with manage_addFile, when the filename contain=
s
> an umlaut.
> i tried to url_quote the id but it didn't worked (or i'm to stupid :).
>=20
> lg siegmund
>=20
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )