bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bug#480774: diff -y in UTF-8: bad alignment (fwd)


From: Santiago Vila
Subject: Bug#480774: diff -y in UTF-8: bad alignment (fwd)
Date: Fri, 29 May 2009 12:46:51 +0200 (CEST)

Hello.

This bug was received from the Debian bug system.
Thanks.

---------- Forwarded message ----------
From: Vincent Lefevre <address@hidden>
To: Debian Bug Tracking System <address@hidden>
Date: Mon, 12 May 2008 01:35:23 +0200
Subject: Bug#480774: diff -y in UTF-8: bad alignment

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

Attachment: file1
Description: Text document

Attachment: file2
Description: Text document

Attachment: out
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]