Skip to content

Add encodings for locales supported by glibc #66869

Closed

Description

@serhiy-storchaka
BPO 22679
Nosy @malemburg, @loewis, @vstinner, @jwilk, @serhiy-storchaka
Dependencies
  • bpo-19459: Python does not support the GEORGIAN-PS charset
  • bpo-21081: missing vietnamese codec TCVN 5712:1993 in Python
  • bpo-22681: Add support of KOI8-T encoding
  • bpo-22682: Add support of KZ1048 (RK1048) encoding
  • 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 2014-10-20.16:49:37.987>
    labels = ['type-feature', 'library']
    title = 'Add encodings of supported in glibc locales'
    updated_at = <Date 2014-10-29.05:00:57.346>
    user = 'https://github.com/serhiy-storchaka'

    bugs.python.org fields:

    activity = <Date 2014-10-29.05:00:57.346>
    actor = 'progfou'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2014-10-20.16:49:37.987>
    creator = 'serhiy.storchaka'
    dependencies = ['19459', '21081', '22681', '22682']
    files = []
    hgrepos = []
    issue_num = 22679
    keywords = []
    message_count = 1.0
    messages = ['229730']
    nosy_count = 6.0
    nosy_names = ['lemburg', 'loewis', 'vstinner', 'jwilk', 'progfou', 'serhiy.storchaka']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = None
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue22679'
    versions = ['Python 3.5']

    Activity

    1. serhiy-storchaka commented on Oct 20, 2014

      @serhiy-storchaka
      MemberAuthor

      There are 6 encodings used in supported by glibc locales:

      All these encodings are rare nowadays, but the fact that they are supported as encoding of official glibc locales means that they were used in some places in some time and there are some documents in these encodings. May be they are used even nowadays. I think it is worth to add support of all this encodings in Python.

      This is a meta-issue. There are requests for support of GEORGIAN-PS (bpo-19459) and TCVN5712-1 (bpo-21081).

    2. added
      stdlibStandard Library Python modules in the Lib/ directory
      type-featureA feature request or enhancement
      on Oct 20, 2014
    3. transferred this issue fromon Apr 10, 2022
    4. changed the title [-]Add encodings of supported in glibc locales[/-] [+]Add encodings for locales supported by glibc[/+] on Apr 13, 2025
    5. serhiy-storchaka commented on Aug 1, 2026

      @serhiy-storchaka
      MemberAuthor

      The iconv-based codec engine added in #152997 (PR #153001) makes these encodings available on platforms whose iconv() provides it. And since iconv() is what is used to support locale encodings in other programs, the case is closed.

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      stdlibStandard Library Python modules in the Lib/ directorytopic-unicodetype-featureA feature request or enhancement

      Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions