RPM Community Forums

Mailing List Message of <popt-devel>

Some umlaut issues in popt 1.15 (the old thing again)

From: Robert Scheck <robert@rpm5.org>
Date: Sun 25 May 2008 - 15:19:57 CEST
Message-ID: <20080525131957.GA22318@hurricane.linuxnetz.de>
Hello all,

I've claimed that I can see some umlaut issues with popt 1.14 and I really
would like to see it solved, now. Reproducer is for me as follows. Using
popt-1.13-3 from Fedora 8, 9 or Rawhide, I simply executed the following:

$ LANG=de_DE@euro rpm --help > rpm-1.13-iso
$ LANG=de_DE.UTF-8 rpm --help > rpm-1.13-utf

Using popt 1.15 from latest CVS checkout, I also did the following:

$ LANG=de_DE@euro rpm --help > rpm-1.15-iso
$ LANG=de_DE.UTF-8 rpm --help > rpm-1.15-utf

Results are now as follows using file(1) to compare:

popt-1.13-iso: ISO-8859 text					# as expected
popt-1.13-utf: UTF-8 Unicode text				# as expected

popt-1.15-iso: Non-ISO extended-ASCII text		# NOT as expected
popt-1.15-utf: UTF-8 Unicode text				# as expected

Once my LANG is de_DE@euro for popt >= 1.14, the ISO-8859 text seems not
sane to be written somehow. Please note, that popt 1.13, I was using here
is not the vanilla one, the following patch was applied (no matter what it
does exactly):

http://cvs.fedora.redhat.com/viewcvs/*checkout*/devel/popt/popt-1.13-popt_fprintf.patch


Greetings,
  Robert


Received on Sun May 25 15:27:00 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.