Skip to content

Commit 269de9c

Browse files
committed
bug #19358 [Validator] Update the default message of the Charset constraint (xabbuh)
This PR was merged into the 7.1 branch. Discussion ---------- [Validator] Update the default message of the `Charset` constraint Commits ------- cf4d724 update the default message of the Charset constraint
2 parents ed1f530 + cf4d724 commit 269de9c

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)