#753 fix UTF-8 handling of Company names in OUI

This commit is contained in:
Oliver Gorwits
2020-10-31 11:05:04 +00:00
parent 15a2b46e3a
commit 84821f3331
2 changed files with 5 additions and 4 deletions

View File

@@ -1,7 +1,8 @@
2.046006 - 2020-10-?? 2.046006 - 2020-10-31
[BUG FIXES] [BIG FIXES]
* #753 fix UTF-8 handling of Company names in OUI
* Try again to drop unneeded constraint on netmap_positions * Try again to drop unneeded constraint on netmap_positions
2.046005 - 2020-10-17 2.046005 - 2020-10-17

View File

@@ -251,8 +251,8 @@ sub deploy_oui {
$schema->resultset('Oui')->populate([ $schema->resultset('Oui')->populate([
map { map {
{ oui => $_, { oui => $_,
company => $data{$_}{'company'}, company => Encode::decode('UTF-8', $data{$_}{'company'}),
abbrev => $data{$_}{'abbrev'} abbrev => Encode::decode('UTF-8', $data{$_}{'abbrev'}),
} }
} keys %data } keys %data
]); ]);