Skip Menu |

This queue is for tickets about the JSON-XS CPAN distribution.

Report information
The Basics
Id: 29882
Status: rejected
Priority: 0/
Queue: JSON-XS

People
Owner: Nobody in particular
Requestors: NUFFIN [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.5
Fixed in: (no value)



Subject: debug rejects unicode strings
my $json = get_utf8_json(); JSON::XS->new->utf8->decode($json); utf8::decode($json); JSON::XS->new->utf8->decode($json); # dies with "Wide character in subroutine entry" so essentially one must call utf8::encode on any string that utf8::is_utf8 before decoding it as JSON. It would be nice if JSON::XS could do it on it's own. Also, the option to receive strings from encode with the unicode bit set would be nice.
CC: undisclosed-recipients: ;
Subject: Re: [rt.cpan.org #29882] debug rejects unicode strings
Date: Wed, 10 Oct 2007 15:24:54 +0200
To: יובל קוג'מן via RT <bug-JSON-XS [...] rt.cpan.org>
From: Marc Lehmann <schmorp [...] schmorp.de>
Hi, your report will be ignored when sent to rt.cpan.org and not the official contact address mentioned in the module documentation. Please close your report again and use the contact address from the module documentation to report any issues. If this is an inconvenience to you please consider petitioning the rt.cpan.org authors to make their service optional and not enforced, so this inconvenience can be avoided in the future. Thanks a lot, Marc Lehmann <schmorp@schmorp.de>
usage bug, when selecting utf8, you have to provide utf8. if you want to provide a unicode string, don't enable utf8.