Skip to content

Commit cf4d724

Browse files
committed
update the default message of the Charset constraint
1 parent ed1f530 commit cf4d724

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reference/constraints/Charset.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ encodings. This option accepts any value that can be passed to
9696
``message``
9797
~~~~~~~~~~~
9898

99-
**type**: ``string`` **default**: ``The detected encoding "{{ detected }}" does not match one of the accepted encoding: "{{ encodings }}".``
99+
**type**: ``string`` **default**: ``The detected character encoding is invalid ({{ detected }}). Allowed encodings are {{ encodings }}.``
100100

101101
This is the message that will be shown if the value does not match any of the
102102
accepted encodings.

0 commit comments

Comments
 (0)