[MERGE] better support of unicode paths on Windows

Martin (gzlist) gzlist at googlemail.com
Sat Jul 4 01:40:51 BST 2009


2009/7/3 Alexander Belchenko <bialix at ukr.net>:
> Bzr has one latent bug related to create new .bzr directory inside unicode
> directory. The problem occurs when unicode path cannot be encoded in current
> user encoding, as pointed by INADA Naoki, see
> https://bugs.launchpad.net/tortoisebzr/+bug/335362/comments/41

Patch (with your later fix) looks good to me.

Makes me realise I introduced a regression in this area. I was under
the impression that CreateFile was one of the pywin32 functions that
varied given a str or unicode argument, but actually it's the A
version and there's a seperate W version. It's an easy fix if I don't
finish my rearrange for the 1.17 window though.

Martin



More information about the bazaar mailing list