Skip to content

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

Description

@methane
BPO47000
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=Noneclosed_at=Nonecreated_at=<Date2022-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=<Date2022-04-04.02:47:05.537>user='https://github.com/methane'

    bugs.python.org fields:

    activity=<Date2022-04-04.02:47:05.537>actor='methane'assignee='none'closed=Falseclosed_date=Nonecloser=Nonecomponents= ['Unicode']
    creation=<Date2022-03-13.06:09:52.037>creator='methane'dependencies= []
    files= []
    hgrepos= []
    issue_num=47000keywords= ['patch']
    message_count=16.0messages= ['415028', '415118', '415146', '415147', '415219', '415240', '415767', '415768', '415769', '415851', '415867', '415922', '416329', '416330', '416332', '416649']
    nosy_count=5.0nosy_names= ['lemburg', 'vstinner', 'ezio.melotti', 'methane', 'eryksun']
    pr_nums= ['32003', '32068']
    priority='normal'resolution=Nonestage='patch review'status='open'superseder=Nonetype=Noneurl='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