[Tutor] how can I use unicode in ctypes?

eryksun eryksun at gmail.com
Mon Dec 10 13:22:31 CET 2012


On Mon, Dec 10, 2012 at 5:15 AM, Albert-Jan Roskam <fomcl at yahoo.com> wrote:
>
> Thanks. I modified it. Kinda annoying that the default encoding is ascii, but
> I read that it could be changed with sys.setdefaultencoding and reload(sys)

I wouldn't go against the grain here, especially for library code.


More information about the Tutor mailing list