title: json unicode to string so i can use that in django html page
body: <p><strong>Edited :</strong></p>
  
  <p>Anybody tell me how to decode the unicode.I just want to print json unicode into my html page i developed. I got the api from <a href="https://www.google.co.in/url?sa=t&amp;rct=j&amp;q=&amp;esrc=s&amp;source=web&amp;cd=1&amp;cad=rja&amp;uact=8&amp;ved=0CB0QFjAA&amp;url=https%3A%2F%2Fapify.heroku.com%2Fresources%2F4fda2ede485abc0001000034&amp;ei=ytu8U9qqFYqwuASj_ICoDA&amp;usg=AFQjCNFA44iaXXsuzNX9RrchrnryRRkLRA&amp;bvm=bv.70138588,d.c2E" rel="nofollow">heroku api</a>. </p>
  
  <p>pretty much i followed every step correctly. But the output is unicode and that i don`t know how to extract the content and display into my page. </p>
  
  <p>I need to print the content. How to do that ?  </p>
  
  <p>my views.py</p>
  
  <pre><code>template_vars['kural'] = json.dumps(thirukural[x])
          t = loader.get_template('index.html')
          c = Context(template_vars)
          #pprint.pprint(c)
  
          return HttpResponse(t.render(c))
  </code></pre>
  
  <p>Html Page</p>
  
  <pre><code>  &lt;html&gt;&lt;head&gt;&lt;meta http-equiv="Content-Type" content="text/html; charset=UTF-8"&gt;
  &lt;/head&gt;&lt;body&gt;
  
  &lt;p id="p"&gt;&lt;/p&gt;
  
  &lt;script type="text/javascript"&gt;
  var t = {{kural|safe}}
  var text = eval(t);
  var p = document.getElementById("p");
  p.innerHTML=t.kural;
  &lt;/script&gt;
  &lt;/body&gt;&lt;/html&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>It`s currently printed like this </p>
  
  <pre><code>யாதனின் யாதனின் நீங்கியான் நோதல் அதனின் அதனின் இலன்.
  </code></pre>
  
  <p>but in the heroku api page the sample output printed like this </p>
  
  <pre><code>  {
    "id": "213",
    "kural": "புத்தே ளுலகத்தும் ஈண்டும் பெறலரிதே\n\nஒப்புரவின் நல்ல பிற."
    }
  </code></pre>
  
  <p>You can see that my output doesnt have <code>line breaks that \n</code> . How can i do that ?</p>