jsv4-php icon indicating copy to clipboard operation
jsv4-php copied to clipboard

String length evaluation does not comply with RFC4627

Open ccprog opened this issue 10 years ago • 0 comments

String length evaluation uses the bitwise-operating strlen(). RFC4627 states that "JSON text SHALL be encoded in Unicode. The default encoding is UTF-8", which could contain multibyte characters, which should be counted as one.

ccprog avatar Jun 25 '14 08:06 ccprog