Skip to content

subprocess uses wrong encoding on Windows #71366

Description

@davispuh
mannequin
BPO 27179
Nosy @pfmoore, @vstinner, @tjguk, @ezio-melotti, @vadmium, @zware, @eryksun, @zooba, @davispuh
Superseder
  • bpo-6135: subprocess seems to use local encoding and give no choice
  • Files
  • subprocess_fix_encoding_v2_a.patch: Patch A to fix console's encoding for subprocess
  • subprocess_fix_encoding_v2_b.patch: Patch B to fix console's encoding for subprocess
  • subprocess_fix_encoding_v3.patch: Patch v3 to fix console's encoding for subprocess
  • subprocess_fix_encoding_v4fixed.patch: Patch to fix console's encoding for subprocess
  • 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

    GitHub fields:

    assignee = 'https://github.com/zooba'
    closed_at = <Date 2016-09-05.23:24:48.318>
    created_at = <Date 2016-06-02.00:52:46.242>
    labels = ['expert-unicode', 'type-bug', 'library', 'expert-IO', 'OS-windows']
    title = 'subprocess uses wrong encoding on Windows'
    updated_at = <Date 2016-09-05.23:24:48.316>
    user = 'https://github.com/davispuh'

    bugs.python.org fields:

    activity = <Date 2016-09-05.23:24:48.316>
    actor = 'steve.dower'
    assignee = 'steve.dower'
    closed = True
    closed_date = <Date 2016-09-05.23:24:48.318>
    closer = 'steve.dower'
    components = ['Library (Lib)', 'Unicode', 'Windows', 'IO']
    creation = <Date 2016-06-02.00:52:46.242>
    creator = 'davispuh'
    dependencies = []
    files = ['43100', '43101', '43183', '43316']
    hgrepos = []
    issue_num = 27179
    keywords = ['patch']
    message_count = 27.0
    messages = ['266852', '266853', '266854', '266860', '266864', '266872', '266873', '266875', '266890', '266977', '267024', '267025', '267091', '267221', '267222', '267246', '267258', '267260', '267270', '267310', '267424', '267946', '274323', '274325', '274328', '274331', '274466']
    nosy_count = 9.0
    nosy_names = ['paul.moore', 'vstinner', 'tim.golden', 'ezio.melotti', 'martin.panter', 'zach.ware', 'eryksun', 'steve.dower', 'davispuh']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '6135'
    type = 'behavior'
    url = 'https://bugs.python.org/issue27179'
    versions = ['Python 3.5', 'Python 3.6']

    Metadata

    Metadata

    Assignees

    Labels

    OS-windowsstdlibStandard Library Python modules in the Lib/ directorytopic-IOtopic-unicodetype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions