Closed GoogleCodeExporter closed 9 years ago
Your example works in PyScripter if:
- you change s= "中国:" to s= u"中国:"
- this is a saved file and not an unsaved buffer
For unsaved buffers use
# -*- coding: utf8 -*-
s= u"中国:"
a=raw_input(s)
print a, type(a)
and select Edit, File Encoding, UTF8 from the menu before running the script.
Original comment by pyscripter
on 31 Jul 2010 at 1:45
Original issue reported on code.google.com by
pqwe...@gmail.com
on 4 Mar 2010 at 8:42