Synopsis: diff on UTF-8 text files thinks they are binary - regression from 7.X
State-Changed-From-To: feedback->closed
State-Changed-By: jh
State-Changed-When: Mon Sep 20 19:39:42 UTC 2010
State-Changed-Why:
Submitter's files contained NUL characters. I don't see stable/7 diff(1)
behaving differ
> I couldn't reproduce this with simple UTF-8 files:
I just looked through my example files in detail, and it turns out the
problem is not with UTF-8 after all, but with NULL characters which
are also in the file. This is what trips up 'diff' - and though it
it a charge from 7.X I am not sure that
Synopsis: diff on UTF-8 text files thinks they are binary - regression from 7.X
State-Changed-From-To: open->feedback
State-Changed-By: jh
State-Changed-When: Mon Sep 20 13:27:42 UTC 2010
State-Changed-Why:
I couldn't reproduce this with simple UTF-8 files:
$ file 1 2
1: UTF-8 Unicode text
2: UT
>Number: 150727
>Category: bin
>Synopsis: diff on UTF-8 text files thinks they are binary - regression
>from 7.X
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible:freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date