Binary file handling discussion

Wouter van Heyst larstiq at larstiq.dyndns.org
Mon Nov 13 23:05:25 GMT 2006


On Sun, Nov 12, 2006 at 04:43:06PM +0100, Jan Hudec wrote:

...

> I think you meant UTF-16, but any format in which you can do that is
> really binary (as in text merge won't work on it). And UTF-8 is fully
> ascii-compatible, so no problem there whatever.
> 
> > only important thing here is whether \r\n is left alone or converted to
> > \n, so if you want to go down the 'auto-detection' route you'd need to
> > agree on a good algorithm for that. (Auto-detection can be hard to get
> > right. Try typing "this app can break" into a text file in Windows, save
> > it, then open it again in Notepad and be surprised by some Windows
> > auto-detection wackiness.)
> 
> Notepad has no autodetection whatsoever, as far as I know.

http://apipes.blogspot.com/2006/06/this-api-can-break.html

Wouter van Heyst
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 307 bytes
Desc: Digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20061114/c0c68545/attachment.pgp 


More information about the bazaar mailing list