I have a program that gets a string from the user. they type in "£" but some weird "tu`" text replaces the "£" when PRINT ing the string.
my app is a gui which takes input from user, what could be the problem
I have a program that gets a string from the user. they type in "£" but some weird "tu`" text replaces the "£" when PRINT ing the string.
my app is a gui which takes input from user, what could be the problem
You need to print it like this:
a=raw_input("Enter something: ")
print a.encode('utf-8')