Support for Unicode files

Aaron Bentley aaron.bentley at utoronto.ca
Sat May 12 06:55:21 BST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Paul Schauble wrote:
> The documentation I can find it rather vague on this subject. 
> 
> Does Bazaar handle Unicode files, specifically UTF-16LE?

Bazaar will treat UTF-16 and UTF-32 files as binary files, because they
usually contain NUL bytes.  UTF-8 is fine.

> And provide the 
> same diff/merge capabilities that are provided for code page encoded 
> files?

Because they are treated as binary, UTF-16 and UTF-32 will not support
diff.  Merge will not work when both sides have changed the file, but it
will work when only one side has changed the file.  Everything will work
fine with utf-8.

Diff is a binary operation, so if it was supported, it would only be
legible if you had a utf-16 terminal.

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGRVbJ0F+nu1YWqI0RAr8+AJ9GCbZr0sWtNkT7z2KKuuhSKXArgwCffYKu
XXCTJ2chKfuganDgNuMJwVE=
=H52i
-----END PGP SIGNATURE-----



More information about the bazaar mailing list