clarify Django docs re: email addresses and ascii
|Reported by:||cjerdonek||Owned by:||nobody|
|Severity:||Normal||Keywords:||email, ascii, unicode|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
In looking into Django's handling of non-ascii characters in e-mail addresses, I found the following here in the Email section of the Unicode data docs--
"However, you’re still obligated to respect the requirements of the email specifications, so, for example, email addresses should use only ASCII characters."
This may still be technically correct under some interpretation, but I think the wording should be clarified to avoid confusion, and because I think the full picture may be a bit more nuanced. For example, the Wikipedia article on email addresses says, "The local-part of the email address may use any of these ASCII characters RFC 5322 Section 3.2.3, RFC 6531 permits Unicode beyond the ASCII range" (to include one part). Also see the comments to ticket #14301, which reveal that there is probably more worth saying in the portion of the docs that I quoted.
I don't know if other parts of the Django docs say more on this aspect.
Change History (6)
comment:1 Changed 18 months ago by cjerdonek
- Cc chris.jerdonek@… added
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset