Problem with the field "Description" of a package

Ming Hua minghua-list at sbcglobal.net
Wed Oct 11 22:29:40 BST 2006


On Wed, Oct 11, 2006 at 09:44:32AM +0200, Loïc Martin wrote:
> Sorry, here it is.

The debian/control file looks fine to me, and it's valid UTF-8.  I
didn't do any test building so can't say more.

> On another note, I don't know how to recognize non-UTF8 characters :)

The iconv tool should do that just fine:
    $ iconv -f utf8 -t utf8 file
If the file is valid UTF-8, it will just be printed out to standard out,
if it's not valid UTF-8, iconv will give an error message.

There is also an isutf8 tool in moreutils package.

Ming
2006.10.11



More information about the Ubuntu-motu mailing list