[RFC] Use utf-8 revision ids

Robert Collins robertc at robertcollins.net
Thu Feb 1 10:40:09 GMT 2007

On Thu, 2007-02-01 at 16:27 +1100, Martin Pool wrote:
> It does seem there may be some breakage if people have somehow
> generated
> non-ascii ids, and their default encoding is not utf-8 -- they may get
> an exception when trying to compare the str value to a unicode
> revision
> id they got from somewhere else.  But such data should be rare, and if
> we generally go towards treating these ids just as strs then it should
> be ok. 

well, we've treated ids as unicode previously, so non-ascii implies
unicode, which means utf8 is fine. We can decode to unicode and encode
to their locale on display sanely IMNSHO.


GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20070201/95f56794/attachment.pgp 

More information about the bazaar mailing list