Comment 0 for bug 1666829

Revision history for this message
RJVB (rjvbertin) wrote :

A priori there is nothing platform-specific in the qarte code, and indeed it works on Mac and MS Windows without significant patching.

There is a difference in the way Python/Mac handles Unicode strings, though, that lead to runtime failure. Attached is a patch that handles the few remaining expressions where this is a blocking problem in basic usage. From the looks of it these are all cases where a filename is retrieved from the server that is UTF8-encoded.

If there is no way to make the `open()` function treat its filename argument as a unicode string then there are probably other locations where equivalent operations are carried out (e.g. in the scheduled loader implementation).