Hello Benji, Marius,
It is hurry.file causing the the problem, it is doing
def _toFormValue(self, value):
if value == self.context.missing_value:
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> However, we'd have to decide who is creating the unicode string:
BY> testbrowser, mechanize, or the publishing framework.
Quote of the day:
Justice is truth in action.
- Joseph Joubert
Zope3-dev mailing list