PropCheck.BasicTypes.utf8
You're seeing just the function
utf8
, go back to PropCheck.BasicTypes module for more information.
Specs
utf8() :: type()
utf8-encoded unbounded size binary
Specs
utf8(ext_non_neg_integer()) :: type()
utf8-encoded bounded upper size binary.
Specs
utf8(ext_non_neg_integer(), 1..4) :: type()
Bounded upper size utf8 binary, codepoint length =< MaxCodePointSize
.
Limiting codepoint size can be useful when applications do not accept full unicode range. For example, MySQL in utf8 encoding accepts only 3-byte unicode codepoints in VARCHAR fields.
If unbounded length is needed, use :inf
as first argument.