-3

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

Ajay Gupta
  • 1,285
  • 8
  • 22

1 Answers1

0

You need to print it like this:

a=raw_input("Enter something: ")
print a.encode('utf-8')
ForceBru
  • 43,482
  • 10
  • 63
  • 98