Webservice call from PHP using JSON
Posted: Tue Feb 14, 2012 6:19 am
Hello ,
I am calling web service written in java from php code.
The web service uses the JSON.
When I use the Chinese characters as input then they are not storing properly in to database.
I am using oracle as database which supports the UTF-8.
In some of the forum I saw discussion about the JSON_ENCODE function which is causing similar issues.
In my code I am also using the JSON_ENCODE function.
If anybody have any solution(code) for this Please reply.
Regards
Milind
I am calling web service written in java from php code.
The web service uses the JSON.
When I use the Chinese characters as input then they are not storing properly in to database.
I am using oracle as database which supports the UTF-8.
In some of the forum I saw discussion about the JSON_ENCODE function which is causing similar issues.
In my code I am also using the JSON_ENCODE function.
If anybody have any solution(code) for this Please reply.
Regards
Milind