Re: Ascii/binary detection.
From: Charles Wilson <pathfinder_at_acm.org>
Date: 2001-08-01 17:46:55 CEST
>>1. Develop a heuristic for determining the binariness of a file, say
A good check for binary is a 0x00 (or 0x0000 depending on the
>>`svn:line-ending'
Macintosh <CR>
It should be noted that due to historic screwups with implementations
CHR_LF, CHR_CR, CHR_NL
You may also want to consider inclusion of an arbitrary byte sequence
-- - charles --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org For additional commands, e-mail: dev-help@subversion.tigris.orgReceived on Sat Oct 21 14:36:34 2006 |
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.