utf-8 and ctypes
Lawrence D'Oliveiro
ldo at geek-central.gen.new_zealand
Wed Sep 29 06:11:45 EDT 2010
In message <mailman.1132.1285714474.29448.python-list at python.org>, Brendan
Miller wrote:
> It seems that characters not in the ascii subset of UTF-8 are
> discarded by c_char_p during the conversion ...
Not a chance.
> ... or at least they don't print out when I go to print the string.
So it seems there’s a problem on the printing side. What happens when you
construct a UTF-8-encoded string directly in Python and try printing it the
same way?
More information about the Python-list
mailing list