Ethereal-dev: Re: [Ethereal-dev] Ethereal 0.99.0pre1 available for testing

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Andrew Hood <ajhood@xxxxxxxxx>
Date: Sat, 22 Apr 2006 14:09:50 +1000
Gerald Combs wrote:
> Ulf Lamping wrote:
> 
> 
>>When opening the About dialog, the console spits out some: "Invalid utf8
>>encoding: ..." messages on WinXP caused by some entries in the authors
>>file.
>>
>>The developer build doesn't do so. When I remember correct, Guy recently
>>committed a change to the authors file ...
> 
> 
> Guy's fix has been copied to the 1.0 trunk.  Is there a way to reliably
> check the UTF-8 conformance of the AUTHORS file, and would it be worth
> it to add a script to the test suite?

Not trivial but "recode" will complain loudly if something isn't in the
format it is supposed to be.

e.g.
cp AUTHORS AUTHORS.test
recode utf-8..utf-16 AUTHORS.test
if [ $? -gt 0 ] ; then echo AUTHORS is broken ; fi
rm AUTHORS.test

-- 
There's no point in being grown up if you can't be childish sometimes.
                -- Dr. Who