UnicodeDecodeError? Argh! Nothing works! I'm tired and hurting and...

samwyse samwyse at gmail.com
Tue Nov 24 18:09:00 EST 2009


On Nov 24, 4:43 pm, Steven D'Aprano <st... at REMOVE-THIS-
cybersource.com.au> wrote:

> Oh yes, and people using Windows can't use maildir because (1) it doesn't
> allow colons in names, and (2) it doesn't have atomic renames. Neither of
> these are insurmountable problems: an implementation could substitute
> another character for the colon, and while that would be a technical
> violation of the standard, it would still work. And the lack of atomic
> renames would simply mean that implementations have to be more careful
> about not having two threads writing to the one mailbox at the same time.

A common work around for the former is to URL encode the names, which
let's you stick all sorts of odd characters.

I'm afraid I can't help with the latter, though.



More information about the Python-list mailing list