fixed: Poll question/answers with international text corrupted

This commit is contained in:
Graham Knop 2008-03-27 20:29:07 +00:00
parent 8b17b8c157
commit d245e8ef48
2 changed files with 3 additions and 2 deletions

View file

@ -192,7 +192,7 @@ sub freezeGraphConfig {
my $self = shift;
my $obj = shift;
return JSON::to_json($obj);
return JSON::encode_json($obj);
}
@ -404,7 +404,7 @@ sub thawGraphConfig {
my $string = shift;
return unless $string;
return JSON::from_json($string);
return JSON::decode_json($string);
}
#-------------------------------------------------------------------