jquery post encodeURIComponent and textarea line break issue
<p>i am using encodeURIComponent to send value to php script</p>

<p>?txtAra = encodeURIComponent($("#textAra").val())</p>

<p>I saw in firebug it sends line break as <code>%0A</code>, in php script i am using</p>

<pre><code>$txtA = $_POST['txtAra'];
</code></pre>

<p>and php mail function, in email i sees as test\n\n\ntest\n\n\ntest</p>

<p>How do i make \n as normal line break in mail?</p>

<p>i tried str_replace and nl2br, still same.</p>

<p>Any idea why?</p>
