Comment 0 for bug 394943

Revision history for this message
Display Name (user340562791542-deactivatedaccount) wrote : Wrong chars in bzr xmloutput > file

Windows XP, console encoding cp850, Bazaar 1.16.1. The command bzr xmlstatus > file is saving the file as latin-1 with the following content:

<?xml version="1.0" encoding="UTF-8"?><status workingtree_root="C:/Programa‡Æo/"></status>

‡Æ should be çã (it is when I do not send the output to a file, or when I run chcp 1252 before the command). I tried to look into the source code of xmloutput and bzr but I could not figure out what's wrong.