On inquiry, the "unicode" function should take 'mbcs' for 2nd argument if 1st arg includes Japanese character, or aborts.
Additionaly, 1st arg of the "os.path.join" function should be converted to unicode, or it aborts if Japanese characters are given.
I'm attaching a diff file for the wubi source tree(rev158).
I'v compiled wubi with this patch and works fine on my Windows Vista Japanese Edition.
There are probably no ill effects if you use non-Japanese Windows.
I'll be pleased if wubi developers view this patch and comment.
On inquiry, the "unicode" function should take 'mbcs' for 2nd argument if 1st arg includes Japanese character, or aborts.
Additionaly, 1st arg of the "os.path.join" function should be converted to unicode, or it aborts if Japanese characters are given.
I'm attaching a diff file for the wubi source tree(rev158).
I'v compiled wubi with this patch and works fine on my Windows Vista Japanese Edition.
There are probably no ill effects if you use non-Japanese Windows.
I'll be pleased if wubi developers view this patch and comment.