This should be simple, but I can't crack it.
I have a string of Arabic symbols between u'\u0600'
- u'\u06FF'
and u'\uFB50'
- u'\uFEFF'
. For example غينيا واستمر العصبة ضرب قد
.
How do I print each character's unicode number? I'm using Python 2.7.
Something like the following gives me decoding Unicode is not supported
:
for c in example_string:print unicode(c,'utf-8')