Subject: | JSON not in UTF8 format |
Hi,
i'm using the module in a test environment and i'm providing some translated text in multiple languages, such as italian and french.
My setup is based on the iso-8859-1 charset, so, any accent that i would use in that JSON file will be represented as such.
The problem is that the constructor for JSON::MaybeXS, line 178 of Wolowitz.pm, reads as:
$self->{json} = JSON->new->utf8->relaxed;
forcing the use of utf8 for parsing.
I had to modify it to:
$self->{json} = JSON->new->relaxed;
for the JSON to be parsed without error.
Would it be possible to have the module accept the encoding used in the JSON file, or at least allow to enable/disable utf8 parsing?
Thanks
larss