Add 'oem' encoding #72146
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
assignee = 'https://github.com/zooba' closed_at = <Date 2016-09-07.02:48:30.530> created_at = <Date 2016-09-05.23:41:40.307> labels = ['type-feature', 'OS-windows'] title = "Add 'oem' encoding" updated_at = <Date 2016-09-09.15:58:00.280> user = 'https://github.com/zooba'
activity = <Date 2016-09-09.15:58:00.280> actor = 'steve.dower' assignee = 'steve.dower' closed = True closed_date = <Date 2016-09-07.02:48:30.530> closer = 'steve.dower' components = ['Windows'] creation = <Date 2016-09-05.23:41:40.307> creator = 'steve.dower' dependencies =  files = ['44387', '44388', '44405'] hgrepos =  issue_num = 27959 keywords = ['patch'] message_count = 12.0 messages = ['274470', '274471', '274482', '274487', '274491', '274645', '274714', '274716', '274719', '274832', '275323', '275324'] nosy_count = 6.0 nosy_names = ['paul.moore', 'vstinner', 'tim.golden', 'python-dev', 'zach.ware', 'steve.dower'] pr_nums =  priority = 'normal' resolution = 'fixed' stage = 'resolved' status = 'closed' superseder = None type = 'enhancement' url = 'https://bugs.python.org/issue27959' versions = ['Python 3.6']
The text was updated successfully, but these errors were encountered:
Currently the ANSI encoding is available on Windows as 'mbcs', however the OEM encoding (sometimes used by console-based applications) is not easily available.
The implementation is identical to PyUnicode_DecodeMBCS[Stateful], simply passing CP_OEM instead of CP_ACP.