Python 2.6 @ win32: print non-ascii characters to console produce borked output
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Critical
|
Martin Packman |
Bug Description
This is regression in bzr.exe 2.2 since bzr.exe 2.1. Actually it's not really bzr problem, but underlying platform (Python 2.6 + MSVC 2008 runtime), but bzr triggers this problem.
The reason (per Marin gz): calling setlocale(
C:\Temp>bzr init 5
Created a standalone tree (format: 1.9)
C:\Temp>cd 5
C:\Temp\5>
C:\Temp\5>bzr mkdir Тест
added '?бв
C:\Temp\5>bzr st
added:
'?бв/
C:\Temp\5>bzr ci -m "committing Тест"
Committing to: C:/Temp/5/
added '?бв
Committed revision 1.
C:\Temp\5>bzr log -v
-------
revno: 1
committer: Alexander Belchenko <email address hidden>
branch nick: 5
timestamp: Mon 2010-09-06 10:35:45 +0300
message:
committing Тест
added:
Тест/
C:\Temp\5>bzr uncommit
1 Alexander Belchenko 2010-09-06
committing '?бв
The above revision(s) will be removed.
Are you sure? [y/n]: n
Canceled
So there is a lot of commands broken now regarding output to the console.
Related branches
- Alexander Belchenko: Approve
- John A Meinel: Approve
-
Diff: 54 lines (+15/-11)2 files modifiedNEWS (+5/-0)
bzr (+10/-11)
description: | updated |
description: | updated |
Changed in bzr: | |
status: | Confirmed → Fix Released |
Changed in bzr: | |
assignee: | nobody → Martin [gz] (gz) |
milestone: | none → 2.2.1 |
It also affects qcommit in QBzr