I noticed this weekend that there's a bunch of non-ASCII characters in
the manuf file. Of course this doesn't present well in the GUI (or in
tshark output).
I found 2 easy options to fix it:
1) use encode():
~~~
sub shorten
{
my $origmanuf = shift;
$origmanuf = encode("ascii", $origmanuf);
~~~
This replaces non-ASCII chars with question marks. It's better than
what we have now, but not great.
2) use Text:Unidecode():
~~~
sub shorten
{
my $origmanuf = shift;
$origmanuf = unidecode($origmanuf);
~~~
This does a more intelligent conversion.
Gerald, does your system (that automatically updates manuf) have
Text:Unidecode? If not, can it be installed?