title: telnet to fetch sms from fakesmsc in kannel
body: <p>I have a test python application that pulls sms's from kannel fake smsc using telnet:-</p>
  
  <pre><code>cmd = '(sleep .5;echo 6666 7777 text ;sleep .5;) | telnet localhost 10000'
  code, response = commands.getstatusoutput(smart_str(cmd, strings_only=True))
  return HttpResponse(content=response, content_type="text/plain")
  </code></pre>
  
  <p>Messages containing roman characters show fine but unicode characters show as ???? marks. </p>
  
  <p>The smsbox log has the text right:-</p>
  
  <pre><code>2015-07-13 14:36:03 [3751] [3] INFO: smsbox: Got HTTP request &lt;/cgi-bin/sendsms&gt; from &lt;127.0.0.1&gt;
  2015-07-13 14:36:03 [3751] [3] INFO: sendsms used by &lt;kannel&gt;
  2015-07-13 14:36:03 [3751] [3] INFO: sendsms sender:&lt;kannel:CLIPPD&gt; (127.0.0.1) to:&lt;911111111118&gt; msg:&lt;अगर
  2015-07-13 14:36:03 [3751] [3] DEBUG: Stored UUID 24a89307-cd46-4e0b-b153-4ed0a9c46de6
  </code></pre>
  
  <p>And this shows fine too:-</p>
  
  <pre><code>return HttpResponse(content=u'\u0905\u0917\u0930', content_type="text/plain")
  </code></pre>
  
  <p>So the problem is more likely with processing via telnet:-</p>
  
  <pre><code>cmd = '(sleep .5;echo 6666 7777 text ;sleep .5;) | telnet localhost 10000'
  code, response = commands.getstatusoutput(smart_str(cmd, strings_only=True))
  </code></pre>
  
  <p>I have also tried telnet -L but to no effect. </p>
  
  <p>I am clueless about the need for telnet here the source of this problem. Please help. </p>