[New-bugs-announce] [issue39137] create_unicode_buffer() gives different results on Windows vs Linux

Christoph Reiter report at bugs.python.org
Thu Dec 26 05:54:39 EST 2019


New submission from Christoph Reiter <reiter.christoph at gmail.com>:

>>> len(ctypes.create_unicode_buffer("\ud800\udc01", 2)[:])

On Windows: 1
On Linux: 2

Using Python 3.8 on both.

----------
components: ctypes
messages: 358885
nosy: lazka
priority: normal
severity: normal
status: open
title: create_unicode_buffer() gives different results on Windows vs Linux
versions: Python 3.8

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39137>
_______________________________________


More information about the New-bugs-announce mailing list