In RM-7261, the behavior has been modified to only detect Control characters.
Validator for BocTextValue and BocMultilineTextValue.
Error message should specify the line number and position of the invalid character.
Validate that each individual line does not contain any separator (except regular whitespace) or control characters.
For re-motion 1.20, the feature must be enabled for each BocTextValue and BocMultilineTextValue via the TextBoxStyle.HasValidationForNonPrintableCharacters flag. For re-motion 1.22 and later, this feature is always enabled.
Char.IsControl(char) should be sufficient for control characters, including line break and chariage return.
Check if for all Char.IsSeparator(c) Char.IsControl(c) is also true.
Behavior of BocAutoCompleteTextValue for input and search? In particular, the search string is built on the client side, therefor no central solution is possible.