#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

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