[rfc] about encodings and redirect output of bzr via pipe

Jan Hudec bulb at ucw.cz
Mon May 1 08:44:30 BST 2006

On Mon, May 01, 2006 at 11:44:33 +1000, Matthew Hannigan wrote:
> On Sun, Apr 30, 2006 at 03:14:09PM -0500, John Arbash Meinel wrote:
> > I think this is a reasonable method. We can just try all of
> > stdout/stdin/stderr to see if any of them have an encoding.
> Yeah, I'd definitely start with stdin.  It's more strongly
> tied to who you are.  Same situation as for getting terminal
> width.
> I might even go further and suggest that stdin is all you
> should take note of.

Well, it will never really work reliably, because both python and windows are
broken in this respect -- python should be consistent about setting the
encoding and windows should probably better define what encoding is used for

						 Jan 'Bulb' Hudec <bulb at ucw.cz>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060501/b5281e00/attachment.pgp 

More information about the bazaar mailing list