Package: diff
Version: 2.8.1-12
Severity: normal

When "diff -y" in run on files that contain multibyte characters (in
UTF-8), the alignment is incorrect in the output. For instance,

  diff -y file1 file2

on the attached files file1 and file2 produces the attached result
(see "out" attachment): lines with non-ASCII characters have additional
spaces.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.24.5-20080423 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=POSIX, LC_CTYPE=en_US.ISO8859-1 (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages diff depends on:
ii  libc6                         2.7-10     GNU C Library: Shared libraries

diff recommends no packages.

-- no debconf information
ab3456789012345678901234567890123456789012345678901234567890
àb3456789012345678901234567890123456789012345678901234567890
ac3456789012345678901234567890123456789012345678901234567890
àc3456789012345678901234567890123456789012345678901234567890
ab3456789012345678901234567890123456789012345678901234567890  | 
ac3456789012345678901234567890123456789012345678901234567890
àb3456789012345678901234567890123456789012345678901234567890   |        
àc3456789012345678901234567890123456789012345678901234567890

Reply via email to