[Pkg-kbd-devel] Bug#524406: apt: use //TRANSLIT when recoding Description

Michael Schutte michi at uiae.at
Sat Apr 18 10:07:01 UTC 2009


retitle 524406 apt: use //TRANSLIT when recoding Description
reassign 524406 apt
tag 524406 patch
thanks

On Thu, Apr 16, 2009 at 10:48:54PM +0200, Kurt Roeckx wrote:
> Package: kbd
> Version: 1.15-1
> 
> Hi,
> 
> The description currently says:
> Description: Linux console font and keytable utilities
>  This package allows you to set up the Linux console, change the font,
>  resize text mode virtual consoles and remap the keyboard.
>  .
>  You will probably want to install a set of data files, such as the one
>  in the
> 
> 
> I think there is a part missing.

The description is complete, but the next character is a Unicode
character (LEFT DOUBLE QUOTATION MARK, “) without a direct counterpart
in the charset you use.  Some other packages are also affected by this —
try “LANG=C apt-cache show writer2latex”, for example –, so I guess it
makes sense to tackle this problem at its root.

The easiest fix I can think of is iconv’s transliteration feature, which
automatically replaces problematic characters with a close match:

	$ echo “” | iconv -f UTF-8 -t ASCII//TRANSLIT
	""

A patch for apt is attached.

Cheers,
-- 
Michael Schutte <michi at uiae.at>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 524406.patch
Type: text/x-diff
Size: 516 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-kbd-devel/attachments/20090418/0cae8683/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 489 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-kbd-devel/attachments/20090418/0cae8683/attachment.pgp>


More information about the Pkg-kbd-devel mailing list