Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

codec windows1256 should be windows windows-1256 #51216

Closed
DerSascha mannequin opened this issue Sep 22, 2009 · 2 comments
Closed

codec windows1256 should be windows windows-1256 #51216

DerSascha mannequin opened this issue Sep 22, 2009 · 2 comments
Assignees
Labels
docs Documentation in the Doc dir

Comments

@DerSascha
Copy link
Mannequin

DerSascha mannequin commented Sep 22, 2009

BPO 6967
Nosy @birkenfeld
Files
  • codecs.rst.patch: add missing dash
  • 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/birkenfeld'
    closed_at = <Date 2009-09-22.10:55:28.587>
    created_at = <Date 2009-09-22.10:21:22.106>
    labels = ['docs']
    title = 'codec windows1256 should be windows windows-1256'
    updated_at = <Date 2009-09-22.10:55:28.586>
    user = 'https://bugs.python.org/DerSascha'

    bugs.python.org fields:

    activity = <Date 2009-09-22.10:55:28.586>
    actor = 'georg.brandl'
    assignee = 'georg.brandl'
    closed = True
    closed_date = <Date 2009-09-22.10:55:28.587>
    closer = 'georg.brandl'
    components = ['Documentation']
    creation = <Date 2009-09-22.10:21:22.106>
    creator = 'DerSascha'
    dependencies = []
    files = ['14948']
    hgrepos = []
    issue_num = 6967
    keywords = ['patch']
    message_count = 2.0
    messages = ['92980', '92982']
    nosy_count = 2.0
    nosy_names = ['georg.brandl', 'DerSascha']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = None
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue6967'
    versions = ['Python 2.5', 'Python 3.1', 'Python 2.7']

    @DerSascha
    Copy link
    Mannequin Author

    DerSascha mannequin commented Sep 22, 2009

    It seem that there's a dash missing.

    http://docs.python.org/dev/library/codecs.html#standard-encodings

    >>> u'Sorry, this in here makes no sense'.encode('windows1256')
    Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
    LookupError: unknown encoding: windows1256

    On the other hand windows-1256 works.

    @DerSascha DerSascha mannequin assigned birkenfeld Sep 22, 2009
    @DerSascha DerSascha mannequin added the docs Documentation in the Doc dir label Sep 22, 2009
    @birkenfeld
    Copy link
    Member

    Fixed in r75015.

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    docs Documentation in the Doc dir
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant