diff --git a/Netdisco/Changes b/Netdisco/Changes index 7cce2611..819e9b06 100644 --- a/Netdisco/Changes +++ b/Netdisco/Changes @@ -16,6 +16,7 @@ * Missing action to netdisco-do should not throw Perl error * Sort CDP/LLDP data to be more consistent when multiple neighbors on a port * Fix POD errors in Nbtstat and ResultSet::Device (thanks cpants :) + * UTF-8 encoding for Port Name (description) 2.028013 - 2014-07-31 diff --git a/Netdisco/lib/App/Netdisco/Core/Discover.pm b/Netdisco/lib/App/Netdisco/Core/Discover.pm index 779b92a2..a760d2a1 100644 --- a/Netdisco/lib/App/Netdisco/Core/Discover.pm +++ b/Netdisco/lib/App/Netdisco/Core/Discover.pm @@ -292,7 +292,7 @@ sub store_interfaces { mac => $i_mac->{$entry}, speed => $i_speed->{$entry}, mtu => $i_mtu->{$entry}, - name => $i_name->{$entry}, + name => Encode::decode('UTF-8', $i_name->{$entry}), duplex => $i_duplex->{$entry}, duplex_admin => $i_duplex_admin->{$entry}, stp => $i_stp_state->{$entry},