Title: UTF-16 and UTF-32 codecs should reject (lone) surrogates · Issue #57101 · python/cpython · GitHub
Open Graph Title: UTF-16 and UTF-32 codecs should reject (lone) surrogates · Issue #57101 · python/cpython
X Title: UTF-16 and UTF-32 codecs should reject (lone) surrogates · Issue #57101 · python/cpython
Description: BPO 12892 Nosy @malemburg, @gvanrossum, @loewis, @mjpieters, @pitrou, @vstinner, @ezio-melotti, @serhiy-storchaka Files utf_16_32_surrogates.patchutf-16&32_reject_surrogates.patch: rejects surrogate and calls the error handlerssurrogatep...
Open Graph Description: BPO 12892 Nosy @malemburg, @gvanrossum, @loewis, @mjpieters, @pitrou, @vstinner, @ezio-melotti, @serhiy-storchaka Files utf_16_32_surrogates.patchutf-16&32_reject_surrogates.patch: rejects surrogat...
X Description: BPO 12892 Nosy @malemburg, @gvanrossum, @loewis, @mjpieters, @pitrou, @vstinner, @ezio-melotti, @serhiy-storchaka Files utf_16_32_surrogates.patchutf-16&32_reject_surrogates.patch: rejects surr...
Opengraph URL: https://github.com/python/cpython/issues/57101
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"UTF-16 and UTF-32 codecs should reject (lone) surrogates","articleBody":"BPO | [12892](https://bugs.python.org/issue12892)\n--- | :---\nNosy | @malemburg, @gvanrossum, @loewis, @mjpieters, @pitrou, @vstinner, @ezio-melotti, @serhiy-storchaka\nFiles | \u003cli\u003e[utf_16_32_surrogates.patch](https://bugs.python.org/file23810/utf_16_32_surrogates.patch \"Uploaded as text/plain at 2011-11-29.21:13:30 by @vstinner\")\u003c/li\u003e\u003cli\u003e[utf-16\u002632_reject_surrogates.patch](https://bugs.python.org/file24368/utf-16%2632_reject_surrogates.patch \"Uploaded as text/plain at 2012-01-30.07:29:57 by kennyluck\"): rejects surrogate and calls the error handlers\u003c/li\u003e\u003cli\u003e[surrogatepass_for_utf-16\u002632.patch](https://bugs.python.org/file24384/surrogatepass_for_utf-16%2632.patch \"Uploaded as text/plain at 2012-02-01.00:36:07 by kennyluck\"): surrogatepass erro handler for utf-16/32\u003c/li\u003e\u003cli\u003e[utf_16_32_surrogates_3.patch](https://bugs.python.org/file31557/utf_16_32_surrogates_3.patch \"Uploaded as text/plain at 2013-09-02.16:56:35 by @serhiy-storchaka\")\u003c/li\u003e\u003cli\u003e[utf_16_32_surrogates_4.patch](https://bugs.python.org/file31984/utf_16_32_surrogates_4.patch \"Uploaded as text/plain at 2013-10-07.18:32:21 by @serhiy-storchaka\")\u003c/li\u003e\u003cli\u003e[utf_16_32_surrogates_5.patch](https://bugs.python.org/file32047/utf_16_32_surrogates_5.patch \"Uploaded as text/plain at 2013-10-11.20:00:17 by @serhiy-storchaka\")\u003c/li\u003e\u003cli\u003e[utf_16_32_surrogates_6.patch](https://bugs.python.org/file32202/utf_16_32_surrogates_6.patch \"Uploaded as text/plain at 2013-10-18.09:37:27 by @serhiy-storchaka\")\u003c/li\u003e\n\n\u003csup\u003e*Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.*\u003c/sup\u003e\n\n\u003cdetails\u003e\u003csummary\u003eShow more details\u003c/summary\u003e\u003cp\u003e\n\nGitHub fields:\n```python\nassignee = 'https://github.com/serhiy-storchaka'\nclosed_at = \u003cDate 2013-11-19.10:31:20.466\u003e\ncreated_at = \u003cDate 2011-09-04.10:49:30.301\u003e\nlabels = ['type-bug', 'expert-unicode']\ntitle = 'UTF-16 and UTF-32 codecs should reject (lone) surrogates'\nupdated_at = \u003cDate 2015-08-11.11:28:28.010\u003e\nuser = 'https://github.com/ezio-melotti'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2015-08-11.11:28:28.010\u003e\nactor = 'tmp12342'\nassignee = 'serhiy.storchaka'\nclosed = True\nclosed_date = \u003cDate 2013-11-19.10:31:20.466\u003e\ncloser = 'serhiy.storchaka'\ncomponents = ['Unicode']\ncreation = \u003cDate 2011-09-04.10:49:30.301\u003e\ncreator = 'ezio.melotti'\ndependencies = []\nfiles = ['23810', '24368', '24384', '31557', '31984', '32047', '32202']\nhgrepos = []\nissue_num = 12892\nkeywords = ['patch']\nmessage_count = 41.0\nmessages = ['143490', '143495', '148603', '148613', '148614', '152310', '152316', '152420', '159129', '196785', '196788', '196790', '196798', '196803', '198803', '199151', '199179', '199183', '199184', '199186', '199187', '199188', '199189', '199190', '199191', '199192', '199193', '199194', '199195', '199197', '199371', '199375', '199500', '200233', '203344', '203353', '203375', '203591', '248362', '248392', '248404']\nnosy_count = 12.0\nnosy_names = ['lemburg', 'gvanrossum', 'loewis', 'mjpieters', 'pitrou', 'vstinner', 'ezio.melotti', 'python-dev', 'tchrist', 'kennyluck', 'serhiy.storchaka', 'tmp12342']\npr_nums = []\npriority = 'high'\nresolution = 'fixed'\nstage = 'resolved'\nstatus = 'closed'\nsuperseder = None\ntype = 'behavior'\nurl = 'https://bugs.python.org/issue12892'\nversions = ['Python 3.4']\n```\n\n\u003c/p\u003e\u003c/details\u003e\n","author":{"url":"https://github.com/ezio-melotti","@type":"Person","name":"ezio-melotti"},"datePublished":"2011-09-04T10:49:30.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":41},"url":"https://github.com/57101/cpython/issues/57101"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:2aac6a5d-6d62-dbe7-851f-d530f19408de |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D7AE:19106:10F2CF7:172CD98:6A53C164 |
| html-safe-nonce | a838311f3c8da2365b85498434c3f1b15f49386f45f54f855b874e27ff347265 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEN0FFOjE5MTA2OjEwRjJDRjc6MTcyQ0Q5ODo2QTUzQzE2NCIsInZpc2l0b3JfaWQiOiI0NTk2ODcxMTMxODE5MTMxMjM3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 4f57503740fd1ccf7fc909c43ada747467db3c0b4a9f51102bc583d1a5137c8f |
| hovercard-subject-tag | issue:1198872567 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/57101/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ad4673e74aeb57634f84888cc46565565c853e61bd1dc57c492387b2595a44b6/python/cpython/issues/57101 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ad4673e74aeb57634f84888cc46565565c853e61bd1dc57c492387b2595a44b6/python/cpython/issues/57101 |
| og:image:alt | BPO 12892 Nosy @malemburg, @gvanrossum, @loewis, @mjpieters, @pitrou, @vstinner, @ezio-melotti, @serhiy-storchaka Files utf_16_32_surrogates.patchutf-16&32_reject_surrogates.patch: rejects surrogat... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ezio-melotti |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width