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
|
|
@ -398,7 +398,7 @@ sub showDebug {
|
|||
$form->{$key} = "********";
|
||||
}
|
||||
}
|
||||
$text = JSON->new->pretty->encode($form);
|
||||
$text = JSON->new->utf8->pretty->encode($form);
|
||||
$text =~ s/&/&/sg;
|
||||
$text =~ s/>/>/sg;
|
||||
$text =~ s/</</sg;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue