Skip to content

Make encoding="locale" uses locale encoding even in UTF-8 mode is enabled. #91156

Closed
@methane

Description

@methane
BPO 47000
Nosy @malemburg, @vstinner, @ezio-melotti, @methane, @eryksun
PRs
  • bpo-47000: Make io.text_encoding() respects UTF-8 mode #32003
  • bpo-47000: Add locale.getencoding() #32068
  • 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 = None
    closed_at = None
    created_at = <Date 2022-03-13.06:09:52.037>
    labels = ['expert-unicode', '3.11']
    title = 'Make encoding="locale" uses locale encoding even in UTF-8 mode is enabled.'
    updated_at = <Date 2022-04-04.02:47:05.537>
    user = 'https://github.com/methane'

    bugs.python.org fields:

    activity = <Date 2022-04-04.02:47:05.537>
    actor = 'methane'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Unicode']
    creation = <Date 2022-03-13.06:09:52.037>
    creator = 'methane'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 47000
    keywords = ['patch']
    message_count = 16.0
    messages = ['415028', '415118', '415146', '415147', '415219', '415240', '415767', '415768', '415769', '415851', '415867', '415922', '416329', '416330', '416332', '416649']
    nosy_count = 5.0
    nosy_names = ['lemburg', 'vstinner', 'ezio.melotti', 'methane', 'eryksun']
    pr_nums = ['32003', '32068']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue47000'
    versions = ['Python 3.11']

    Linked PRs

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions