Hello Benji, Marius,

Sorry, "entwarnung"
It is hurry.file causing the the problem, it is doing

def _toFormValue(self, value):
        if value == self.context.missing_value:
            return self._missing
        return FileUpload(FakeFieldStorage(value.filename, value.data))

and this FileUpload is trying to do the unicode translation again,
that is causing my problems.

If I do a
return FileUpload(FakeFieldStorage(value.filename.encode('utf-8'), value.data))
my ftests pass again.

Monday, June 19, 2006, 7:21:11 PM, you wrote:

BY> Marius Gedminas wrote:
>> I don't mind, but I think it would be better if testbrowser was changed
>> to match what real browsers do instead.

BY> +1

BY> However, we'd have to decide who is creating the unicode string: 
BY> testbrowser, mechanize, or the publishing framework.

Best regards,
 Groszer Adam
Quote of the day:
Justice is truth in action. 
- Joseph Joubert 

Zope3-dev mailing list
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Reply via email to