[BangPypers] converting utf to octal
orsenthil at gmail.com
Tue Nov 23 12:21:41 CET 2010
On Tue, Nov 23, 2010 at 7:05 PM, Kenneth Gonsalves <lawgon at au-kbc.org> wrote:
> say I have an indic (tamil) string like நான். This is actually
> represented by the following:
Under which encoding?
> How can I convert the above string into
> these characters - or at least into base 10 integers?
If you use utf-8 encoding, it goes like this:
# -*- coding: utf-8 -*-
str1 = u"நான்"
You can try/test things here:
More information about the BangPypers