[Solved] how to show non ASCII character using python [closed]

gs.translate(‘this is a pen’,’bn’) produces a Unicode string. If you just type gs.translate(‘this is a pen’,’bn’) into the interactive interpreter it prints the representation of that string which is u’\u098f\u0987 \u098f\u0995\u099f\u09bf \u0995\u09b2\u09ae’. But when you type print(gs.translate(‘this is a pen’,’bn’)) the Unicode data is encoded into a stream of bytes using the default encoding (which … Read more