Fossil SCM

fix comment

jan.nijtmans 2012-10-31 13:58 UTC improve_looks_like_binary
Commit e1aed25eee903b319b956bfc27f4ca46705892a6
1 file changed +2 -2
+2 -2
--- src/diff.c
+++ src/diff.c
@@ -179,12 +179,12 @@
179179
** (1) -- The content appears to consist entirely of text, with lines
180180
** delimited by line-feed characters; however, the encoding may
181181
** not be UTF-8.
182182
**
183183
** (0) -- The content appears to be binary because it contains embedded
184
-** non-text (\0x0-\0x8, \0xe-\0x1a, \x01c-\x01f) characters or an
185
-** extremely long line.
184
+** non-text characters - \0x0-\0x8, \0xe-\0x19, \0x1c-\0x1f, \uffff,
185
+** or \ufffe,\ufeff (except as BOM) - or an extremely long line.
186186
**
187187
** (-1) -- The content appears to consist entirely of text, with lines
188188
** delimited by carriage-return, line-feed pairs; however, the
189189
** encoding may not be UTF-8.
190190
**
191191
--- src/diff.c
+++ src/diff.c
@@ -179,12 +179,12 @@
179 ** (1) -- The content appears to consist entirely of text, with lines
180 ** delimited by line-feed characters; however, the encoding may
181 ** not be UTF-8.
182 **
183 ** (0) -- The content appears to be binary because it contains embedded
184 ** non-text (\0x0-\0x8, \0xe-\0x1a, \x01c-\x01f) characters or an
185 ** extremely long line.
186 **
187 ** (-1) -- The content appears to consist entirely of text, with lines
188 ** delimited by carriage-return, line-feed pairs; however, the
189 ** encoding may not be UTF-8.
190 **
191
--- src/diff.c
+++ src/diff.c
@@ -179,12 +179,12 @@
179 ** (1) -- The content appears to consist entirely of text, with lines
180 ** delimited by line-feed characters; however, the encoding may
181 ** not be UTF-8.
182 **
183 ** (0) -- The content appears to be binary because it contains embedded
184 ** non-text characters - \0x0-\0x8, \0xe-\0x19, \0x1c-\0x1f, \uffff,
185 ** or \ufffe,\ufeff (except as BOM) - or an extremely long line.
186 **
187 ** (-1) -- The content appears to consist entirely of text, with lines
188 ** delimited by carriage-return, line-feed pairs; however, the
189 ** encoding may not be UTF-8.
190 **
191

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button