Decode more entPhysicalEntry columns as UTF-8 (closes #37)

This commit is contained in:
Oliver Gorwits
2013-10-19 19:44:01 +01:00
parent eefce06cbf
commit 11b054f1a9
2 changed files with 4 additions and 3 deletions

View File

@@ -572,16 +572,16 @@ sub store_modules {
index => $e_index->{$entry},
type => $e_type->{$entry},
parent => $e_parent->{$entry},
name => $e_name->{$entry},
name => Encode::decode('UTF-8', $e_name->{$entry}),
class => $e_class->{$entry},
pos => $e_pos->{$entry},
hw_ver => Encode::decode('UTF-8', $e_hwver->{$entry}),
fw_ver => Encode::decode('UTF-8', $e_fwver->{$entry}),
sw_ver => Encode::decode('UTF-8', $e_swver->{$entry}),
model => Encode::decode('UTF-8', $e_model->{$entry}),
serial => $e_serial->{$entry},
serial => Encode::decode('UTF-8', $e_serial->{$entry}),
fru => $e_fru->{$entry},
description => $e_descr->{$entry},
description => Encode::decode('UTF-8', $e_descr->{$entry}),
last_discover => \'now()',
};
}