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

Missing alias utf-8 in Standard Encodings list. #51021

Closed
mintaka mannequin opened this issue Aug 24, 2009 · 4 comments
Closed

Missing alias utf-8 in Standard Encodings list. #51021

mintaka mannequin opened this issue Aug 24, 2009 · 4 comments
Assignees
Labels
docs Documentation in the Doc dir

Comments

@mintaka
Copy link
Mannequin

mintaka mannequin commented Aug 24, 2009

BPO 6772
Nosy @malemburg, @birkenfeld

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-08-24.07:44:11.952>
created_at = <Date 2009-08-24.07:40:38.066>
labels = ['invalid', 'docs']
title = 'Missing alias  utf-8 in  Standard Encodings list.'
updated_at = <Date 2009-08-24.17:15:02.998>
user = 'https://bugs.python.org/mintaka'

bugs.python.org fields:

activity = <Date 2009-08-24.17:15:02.998>
actor = 'georg.brandl'
assignee = 'georg.brandl'
closed = True
closed_date = <Date 2009-08-24.07:44:11.952>
closer = 'lemburg'
components = ['Documentation']
creation = <Date 2009-08-24.07:40:38.066>
creator = 'mintaka'
dependencies = []
files = []
hgrepos = []
issue_num = 6772
keywords = []
message_count = 4.0
messages = ['91904', '91905', '91906', '91926']
nosy_count = 3.0
nosy_names = ['lemburg', 'georg.brandl', 'mintaka']
pr_nums = []
priority = 'normal'
resolution = 'not a bug'
stage = None
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue6772'
versions = ['Python 3.0']

@mintaka
Copy link
Mannequin Author

mintaka mannequin commented Aug 24, 2009

On page
http://docs.python.org/dev/3.0/library/codecs.html#standard-encodings
(and on the pages for older versions too)
in the table with review, is missing higly used alias "utf-8"

On that row is only:
Codec Aliases Languages
utf_8 U8, UTF, utf8 all languages
And probably there should be:
utf_8 U8, UTF, utf8, utf-8 all languages

@mintaka mintaka mannequin assigned birkenfeld Aug 24, 2009
@mintaka mintaka mannequin added the docs Documentation in the Doc dir label Aug 24, 2009
@malemburg
Copy link
Member

From the quoted page:

"""
Notice that spelling alternatives that only differ in case or use a
hyphen instead of an underscore are also valid aliases.
"""

@mintaka
Copy link
Mannequin Author

mintaka mannequin commented Aug 24, 2009

True, but this one is much more used then others. So frequently, that
look like other names are aliases. Maybe it is good reason to mention it
explicitly.

@birkenfeld
Copy link
Member

I made a compromise in r74545: 'utf-8' is now used as an example to
demonstrate the statement Marc-Andre cited.

@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

2 participants