classification
Title: create_unicode_buffer() gives different results on Windows vs Linux
Type: Stage:
Components: ctypes Versions: Python 3.8
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: lazka
Priority: normal Keywords:

Created on 2019-12-26 10:54 by lazka, last changed 2019-12-26 10:54 by lazka.

Messages (1)
msg358885 - (view) Author: Christoph Reiter (lazka) * Date: 2019-12-26 10:54
>>> len(ctypes.create_unicode_buffer("\ud800\udc01", 2)[:])

On Windows: 1
On Linux: 2

Using Python 3.8 on both.
History
Date User Action Args
2019-12-26 10:54:39lazkacreate