]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
When decoding UTF-16, don't assume that the buffer is in native endianness
authorMartin v. Löwis <martin@v.loewis.de>
Tue, 26 Jun 2001 22:43:40 +0000 (22:43 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Tue, 26 Jun 2001 22:43:40 +0000 (22:43 +0000)
commitac93bc250128105ff4c5f2c9d30027dbb0486db7
tree09cd0dbdeb1335aaeed2bffe3617ffb9dbd2fdf9
parent208efe56401ec6a1d7eef874fcc5848084d15692
When decoding UTF-16, don't assume that the buffer is in native endianness
when checking surrogates.
Objects/unicodeobject.c