Using json_encode in a php web service
<p>I have developed a web service with php, PDO and nusoap. I use <code>json_encode()</code> function to returns an array as a result of my web service functions. In the array there are persian characters and result is like:</p>

<pre><code>\u062c\u0627\u0645 \u0645\u0644\u062a\u0647\u0627\u06cc \u0627\u0631\u0648\u067e\u0627 
</code></pre>

<p>I also used <code>JSON_UNESCAPED_UNICODE</code> inside <code>json_encode()</code> and the result is:</p>

<pre><code>Ø¬Ø§Ù ÙÙØªÙØ§Û Ø§Ø±ÙÙ¾Ø§
</code></pre>

<p>How can I solve my problem to show persian characters correctly?</p>