version-info --include-history UnicodeDecodeError (518609)

Eli Zaretskii eliz at gnu.org
Fri Apr 9 08:55:14 BST 2010


> From: "Stephen J. Turnbull" <stephen at xemacs.org>
> Date: Fri, 09 Apr 2010 09:51:33 +0900
> Cc: Bazaar <bazaar at lists.canonical.com>
> 
> stdout and stderr are nondeterministic, but the heuristic "convert to
> top-level locale encoding if a TTY, else to UTF-8" should work well in
> practice.  (Except maybe on Windows, where the widechar Unicode API
> might be more appropriate for non-TTYs.)

Using UTF-16 for text written to files is not a good default on
Windows, for now.  Too many programs still use the locale's
single-byte encoding, and don't support UTF-16.  Maybe some day in the
future.



More information about the bazaar mailing list