Mailinglist Archive: opensuse-bugs (9511 mails)

< Previous Next >
[Bug 373284] New: man stops working after GNU libiconv is installed
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Mon, 24 Mar 2008 07:55:26 -0600 (MDT)
  • Message-id: <bug-373284-21960@xxxxxxxxxxxxxxxxxxxxxxxxx/>
https://bugzilla.novell.com/show_bug.cgi?id=373284


Summary: man stops working after GNU libiconv is installed
Product: openSUSE 10.3
Version: Final
Platform: All
OS/Version: All
Status: NEW
Keywords: I18N, patch
Severity: Normal
Priority: P5 - None
Component: Basesystem
AssignedTo: mfabian@xxxxxxx
ReportedBy: bruno@xxxxxxxxx
QAContact: qa@xxxxxxx
CC: pinard@xxxxxxxxxxxxxxxx, bruno@xxxxxxxxx
Found By: ---


After a user installs GNU libiconv in his private directories, "man" stops
working. 2 users report independently:
"I am always getting an error message on man:

iconv: conversion from utf8 unsupported
iconv: try 'iconv -l' to get the list of supported encodings"

$ iconv -l | grep -i utf
UTF-8

The cause for the problem is in the 'groff' package: It contains a file
'utf8.patch' that patches the 'nroff.sh' script (later installed as 'nroff')
to invoke iconv with argument 'utf8'.

But 'utf8' is not a valid encoding name (it is not contained in the IANA
charset list <http://www.iana.org/assignments/character-sets>). The right
spelling is 'utf-8'.

The fix is to change the line

iconv -s -c -f utf8 -t $LEGACY_ENCODING < $TMPDIR/input > $TMPDIR/input.new

into

iconv -s -c -f utf-8 -t $LEGACY_ENCODING < $TMPDIR/input > $TMPDIR/input.new


--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >