Reputation: 201
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
Upvotes: 0
Views: 128
Reputation: 10951
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')
Upvotes: 1