summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeal H. Walfield <neal@pep.foundation>2019-07-08 16:17:16 +0200
committerNeal H. Walfield <neal@pep.foundation>2019-07-08 16:17:16 +0200
commitfe68f4d84d137916a4e795591c108b343848ec75 (patch)
tree5dbf96d378ee25888043de826aa910b3597144aa
parentbfb518194195c3266282c36dafe88f50564dc268 (diff)
rfc2822: Clarify what UTF-8 text means
-rw-r--r--rfc2822/README.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/rfc2822/README.md b/rfc2822/README.md
index 68cc3323..9467daee 100644
--- a/rfc2822/README.md
+++ b/rfc2822/README.md
@@ -23,7 +23,9 @@ comment rules are rather complex. This crate implements the whole
grammar.
As an extension, in addition to ASCII, we also recognize all UTF-8
-text.
+code points. NUL, controls, and specials retain their meaning as
+defined in RFC 2822. Other UTF-8 code points are considered to be
+text like `a`.
Further, we also allow dots (`.`) and at symbols (`@`) in the `atom`
production. That is, the `atom` production is extended from: