UTF-8 encoding for Port Name (description)

This commit is contained in:
Oliver Gorwits
2014-08-02 14:39:28 +01:00
parent 65a47b76e8
commit 70531a17f1
2 changed files with 2 additions and 1 deletions

View File

@@ -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

View File

@@ -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},