Opened 8 years ago
Last modified 20 months ago
#27778 assigned Cleanup/optimization
Update unicode documentation — at Version 1
Reported by: | Aymeric Augustin | Owned by: | nobody |
---|---|---|---|
Component: | Documentation | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | yes |
Easy pickings: | no | UI/UX: | no |
Description (last modified by )
The "Unicode data" page doesn't make sense for people who started on Python 3 and who have always had the luxury of a str
type that works.
Also it assumes that Python's default charset is ASCII, while it is UTF-8 now.
This page should be renamed to "Encoded data" and, instead of explaining how unicode strings are different from (Python 2) regular strings, it should explained how encoded strings are different from (Python 3) regular strings and how external systems deal with them.
There's also a handful of references to "Unicode strings" in other documentation pages that should be changed to just "strings".