JSON encoding on RTL languages

Posted by Lev on Stack Overflow See other posts from Stack Overflow or by Lev
Published on 2010-04-18T14:51:28Z Indexed on 2010/04/18 14:53 UTC
Read the original article Hit count: 431

Filed under:
|

Hi,

I'm using JSON to integrate open flash chart to my web page.

When I have a Right to Left language string which contains more the one word the JSON encodes it backwards (For example: "Hello world" is encoded as "world hello").

The string is extracted from a database, there for can be of any language.

How do I force the correct encoding of Right to Left language without ruining other languages?

Thanks

© Stack Overflow or respective owner

Related posts about JSON

Related posts about json-encode