Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Locale-Wolowitz CPAN distribution.

Report information
The Basics
Id: 109715
Status: resolved
Priority: 0/
Queue: Locale-Wolowitz

People
Owner: Nobody in particular
Requestors: larsss31 [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.002000
Fixed in: 1.003000



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
I've added the ability to disable utf8 in v1.3.0. I'll see into adding an encoding option in later versions.
Subject: Re: [rt.cpan.org #109715] Resolved: JSON not in UTF8 format
Date: Mon, 30 Nov 2015 09:33:59 +0100
To: bug-Locale-Wolowitz [...] rt.cpan.org
From: larss <larsss31 [...] gmail.com>
Thank you for the prompt response! larss Show quoted text
> On 28 nov 2015, at 20:38, Ido Perelmutter via RT <bug-Locale-Wolowitz@rt.cpan.org> wrote: > > <URL: https://rt.cpan.org/Ticket/Display.html?id=109715 > > > According to our records, your request has been resolved. If you have any > further questions or concerns, please respond to this message.