]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commit
windows/fixups.py: Don't rely on buggy MSVCRT library for Unicode output, use the...
authordavid-sarah <david-sarah@jacaranda.org>
Mon, 26 Jul 2010 04:50:19 +0000 (21:50 -0700)
committerdavid-sarah <david-sarah@jacaranda.org>
Mon, 26 Jul 2010 04:50:19 +0000 (21:50 -0700)
commit54bbc5325f9dae8baecd3f03682d8864d877af1b
tree096b5eee4789172fdffc08fb6a25729fc3909e31
parent1fad717aaae6382c952c120425f1297eeafea697
windows/fixups.py: Don't rely on buggy MSVCRT library for Unicode output, use the Win32 API instead. This should make it work on XP. Also, change how we handle the case where sys.stdout and sys.stderr are redirected, since the .encoding attribute isn't necessarily writeable.
src/allmydata/windows/fixups.py