use UTF8 JSON encoding and decoding universally
fixed: Import/Export of packages with international text is broken
This commit is contained in:
parent
35bfeac0ef
commit
9ed284beec
16 changed files with 42 additions and 40 deletions
|
|
@ -152,7 +152,7 @@ sub loadSiteData {
|
|||
}
|
||||
else {
|
||||
my $siteData = {};
|
||||
eval { $siteData = JSON::from_json($response->content); };
|
||||
eval { $siteData = JSON::decode_json($response->content); };
|
||||
if ($@) {
|
||||
$self->error("Couldn't fetch Spectre configuration data for $key : $@");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue