On 2010-04-26 11:50, Sylvain Le Gall <gil...@debian.org> wrote:
> > I just noticed that /usr/share/doc/unison/unison-manual.txt.gz seems
> > to be encoded in iso-8859-1 instead of utf-8, which I believe should
> > be the standard by now.
> 
> What tool did you use to detect it? Or at which line is the difference?
> (8859-1 and utf-8 should be almost compatible).

I noticed this because the names of some of the authors aren't
displayed correctlyl, e.g. in lines 57 and 69.

Vim autodetects fileencoding as "latin1", whereas

| $ chardet unison-manual.txt 
| unison-manual.txt: ISO-8859-2 (confidence: 0.88)

The difference doesn't seem to matter. Both

  iconv -f iso-8859-1 unison-manual.txt

and

  iconv -f iso-8859-2 unison-manual.txt

produce identical files.

The utf-8 encoded file differs only in the two lines mentioned above,
and the two names look fine.

Philipp


Attachment: signature.asc
Description: Digital signature

Reply via email to