filename contains umlaut
hi... i'm unable to add a file with manage_addFile, when the filename contains an umlaut. i tried to url_quote the id but it didn't worked (or i'm to stupid :). lg siegmund
hallo sigmund i do this in the constructor: <dtml-let table="_.string.maketrans('. öüäïÖÜÄ','__ouaiOUA')" newid="_.string.translate(REQUEST['id'],table, badchars)"> ... createInObjectManager with newid ... ... set properties ... </dtml-let> have fun gidon Siegmund Fuhringer wrote:
hi...
i'm unable to add a file with manage_addFile, when the filename contains an umlaut. i tried to url_quote the id but it didn't worked (or i'm to stupid :).
lg siegmund
_______________________________________________ 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 )
participants (2)
-
Gidon Friedman -
Siegmund Fuhringer