-
-
Notifications
You must be signed in to change notification settings - Fork 354
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Character set bug when transferring between radio and companion #4603
Comments
I suppose I should start with "How did you enter a label of Sjö in the first place?" 😆 And then we can work from there... |
For any developer to test this: Test 2: |
The radio firmware does not support unicode characters - ASCII only I'm afraid. Companion should probably be updated to not allow unicode in label / name fields. |
This ugly bug took me 2 hours of my life...had to recreate the complex model from scratch |
We should disable all non-english characters and symbols in model setting... |
Hi @philmoz. Companion does have a validator for names however it has been turned of or is inconsistent between fields. Can you please provide me with the currently supported characters for B&W and colour radios. Thanks. |
BW allow only basic character set (English), even for localized firmware |
As far as I know there is no validation on name entry; but only ASCII characters can be entered on the radio. |
When editing B&W names the radio sim GUI validation only allows space hyphen a-z A-Z 0-9. However as screenshot below from X9D+ they can display an extended set (albeit maybe not all as I have not tested every character possible in colour editor). Should valid B&W character set be extended? Companion validation could be changed to have validation based on the current radio profile ie colour vs B&W. The next issue is should invalid characters be filtered out when parsing the yaml files? |
A couple more math chars could be added to BW names, not sure they should be tho, There was a request for '.' that made sense: #4618 |
Is there an existing issue for this problem?
What part of EdgeTX is the focus of this bug?
Other (Please specify below)
Current Behavior
The bug happens when transferring models back and forth between firmware and companion (windows).
2.9.3 in both firmware and companion
I got a model label called "Sjö" (swedish for sea as in seaplane)
When transferring to companion the label gets duplicated to "SjÃ" and "Sjö". The models gets moved from the label Sjö to "SjÃ".
When transferring back to firmware I got two labels instead of one.
Expected Behavior
Labels with international character set is kept intact when transferring back and forth between companion and firmware
Steps To Reproduce
Create a label in the companion with international characters, example "Sjö"
Transfer models and settings to the radio
Assign a model to that label in the radio
Transfer models to companion
Two labels exists "SjÃ" and "Sjö"
Version
2.9.3
Transmitter
RadioMaster TX16S / TX16SMK2
Operating System (OS)
Windows
OS Version
Windows 11 64bit
Anything else?
The text was updated successfully, but these errors were encountered: