Chardet, file, ... and the Flexible String Representation

Chris Angelico rosuav at gmail.com
Fri Sep 6 13:04:59 EDT 2013


On Sat, Sep 7, 2013 at 2:59 AM,  <random832 at fastmail.us> wrote:
> Incidentally, how does all this interact with ctypes unicode_buffers,
> which slice as strings and must be UTF-16 on windows? This was fine
> pre-FSR when unicode objects were UTF-16, but I'm not sure how it would
> work now.

That would be pre-FSR *with a Narrow build*, which was the default on
Windows but not everywhere. But I don't know or use ctypes, so an
answer to your actual question will have to come from someone else.

ChrisA



More information about the Python-list mailing list