Re: Devnagari Unicode Conversion Issues

2013-06-27 Thread Dave Angel
On 06/27/2013 11:39 AM, darpan6aya wrote: That worked out. I was trying to encode it the entire time. Now I realise how silly I am. Thanks MRAB. Once Again. :D you're not silly, it's a complex question. MRAB is good at guessing which part is messing you up. However, when you're writing a

Re: Devnagari Unicode Conversion Issues

2013-06-27 Thread darpan6aya
That worked out. I was trying to encode it the entire time. Now I realise how silly I am. Thanks MRAB. Once Again. :D -- http://mail.python.org/mailman/listinfo/python-list

Re: Devnagari Unicode Conversion Issues

2013-06-27 Thread MRAB
On 27/06/2013 16:05, darpan6aya wrote: How can i convert text of the following type नेपाली into devnagari unicode in Python 2.7? Is that a bytestring? In other words, is its type 'str'? If so, you need to decode it. That particular string is UTF-8: >>> print "नेपाà¤

Devnagari Unicode Conversion Issues

2013-06-27 Thread darpan6aya
How can i convert text of the following type नेपाली into devnagari unicode in Python 2.7? -- http://mail.python.org/mailman/listinfo/python-list