I have a dictionary of Facebook group names and group id retreived from Facebook using graph API .
When I simply Print it using
for i in name:
print i['name']
It prints all the group names even the ones in other languages such as Arabic and French.
but for this statement
check=raw_input("Want to post in %s?(Y/N)" % i['name'])
Group names with the non English Characters are not being printed. Why is this happening?
sys.getdefaultencoding()?repr(i['name'])? What is sys.getdefaultencoding()?