Package: diffutils
Version: 1:3.0-1
Severity: normal

I don't know if this bug is caused by diff or by strcoll.
When comparing filenames with strcoll, using non asian utf8 locales,
chinese characters are considered identical, whichs lead to confusion
between files which are differents. 

E.g.: if you diff -r two directories with files in different orders,
because they where on different file systems, written with different OS.
For an example, I wanted to diff a copy on a server, of a directory from 
an NTFS disk. or simply because the files lists are not the same, and
the sort happens differently. then, diff may consider as two different
files as being the same, and report differences because it compares
different files. for examples, in my situation, it believed that
"エンドカード1.jpg" and "ブックレット1.jpg" were files with the same name
and reported errors between them.

The point, is that, I don't know if it is or not normal that
strcoll("エンドカード1.jpg", "ブックレット1.jpg"); returns 0 when locale
is anything_non_asian.utf-8


-- System Information:
Debian Release: 6.0.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500, 
'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686-bigmem (SMP w/4 CPU cores)
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages diffutils depends on:
ii  libc6                         2.11.3-4   Embedded GNU C Library: Shared lib

diffutils recommends no packages.

Versions of packages diffutils suggests:
pn  diffutils-doc                 <none>     (no description available)
pn  wdiff                         <none>     (no description available)

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to