Home Ask Login Register

Developers Planet

Your answer is one click away!

user3002318 February 2016

Python: IDLE does not show South Asian Language Unicode Characters

When I enter the following code in IDLE:

>>> B=u"\u09FF"
>>> print(B)

I see the following output:


I see a box like character when I actually want to see the character(It's a Bengali character BTW). Why does this happen? Does IDLE not support South Asian and other oriental language Unicode Fonts?

I am using v.3.5.1


Iron Fist February 2016

Actually, what you are getting is the right character for that unicode point, see this table to learn more about unicode points for Bengali language and their corresponding characters, so if we take an example:

>>> print('\u09F8')
>>> print('\u0986')
>>> print('\u09FF')

enter image description here

Post Status

Asked in February 2016
Viewed 1,081 times
Voted 9
Answered 1 times


Leave an answer

Quote of the day: live life