Javascript onclick not passing utf 8 data
<p>I have an <code>onclick</code> function and I'm using it to pass some utf 8 data (in persian language) to receive it in a jQuery function, but it does not work.</p>

<p>I also added</p>

<pre><code>&lt;meta http-equiv="Content-Type" content="text/html; charset=UTF-8"&gt;
</code></pre>

<p>and</p>

<pre><code>&lt;script type="text/javascript" charset="utf-8"&gt;
</code></pre>

<p>to my code. Can any body help me please?</p>

<pre><code>echo "&lt;a id=\"details\" name=\"$id\" onclick=\"show_details({$id}, '{$title}', '{$content}');\"&gt;Details&lt;/a&gt;&lt;br&gt;"

function show_details(id, title, content) {
    alert(content);
}
</code></pre>
