Skip to content

Commit

Permalink
Add documentation for #86.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Howitz committed Feb 28, 2020
1 parent c80a203 commit ee3aa41
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/fields.rst
Expand Up @@ -203,6 +203,16 @@ desired behavior. If you want to swallow these exceptions, pass
in swallow_duplicates=True when initializing the vocabulary. See
the test cases for an example.

Text
----

By default NFC unicode normalization is enabled for :class:`zope.schema.Text`.
Valid forms are 'NFC', 'NFKC', 'NFD', and 'NFKD'.

To set the normalization form, use the parameter ``unicode_normalization`` when
creating the field. Set the parameter to a falsy value to disable unicode
normalization.

URI
---

Expand Down

0 comments on commit ee3aa41

Please sign in to comment.