##// END OF EJS Templates
Decode user input into unicode...
Zbigniew Jędrzejewski-Szmek -
Show More
@@ -45,7 +45,7 b' def input(prompt_text):'
45 if majorversion >= 3:
45 if majorversion >= 3:
46 return input(prompt_text)
46 return input(prompt_text)
47 else:
47 else:
48 return raw_input(prompt_text)
48 return raw_input(prompt_text).decode(sys.stdin.encoding)
49
49
50
50
51 def prompt_boolean(prompt, default=False):
51 def prompt_boolean(prompt, default=False):
General Comments 0
You need to be logged in to leave comments. Login now