Is PHP's json_encode guaranteed to produce ASCII string?

Posted by Milan Babuškov on Stack Overflow See other posts from Stack Overflow or by Milan Babuškov
Published on 2010-04-17T16:36:32Z Indexed on 2010/04/17 16:43 UTC
Read the original article Hit count: 210

Filed under:
|
|
|

Well, the subject says everything. I'm using json_encode to convert some UTF8 data to JSON and I need to transfer it to some layer that is currently ASCII-only. So I wonder whether I need to make it UTF-8 aware, or can I leave it as it is.

© Stack Overflow or respective owner

Related posts about php

Related posts about JSON