edgetx
edgetx copied to clipboard
fix(cpn): Add radio specific name and label validators
Fixes #4603
Summary of changes:
- change Utf8 to Latin1
- add radio lcd type name and label validators based on firmware permitted characters
- validate names and labels on yaml decode and replace an invalid character with a space. Note: Leading and trailing spaces are removed.
- use new validators for GUI validation and ensure all name fields are validated
Notes
- needs a non-English locale user to test to ensure Qt is not localising the regular expressions.