1
4

1 回答 1

1

If I try it in an interactive shell or from a .py file

#!/usr/bin/python
# -*- coding: utf-8 -*-
value_text1 = u'ąść'
print value_text1

it works perfectly well for me, so I guess it's something with your server configuration.

BTW, make sure to use charset="utf-8" when connecting to the server.

于 2013-03-30T19:54:43.487 回答