Wireshark-dev: [Wireshark-dev] non-ASCII stuff in manuf

From: Jeff Morriss <jeff.morriss.ws@xxxxxxxxx>
Date: Mon, 25 Oct 2010 16:19:01 -0400
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?