-
Notifications
You must be signed in to change notification settings - Fork 87
chore: Avoid utf-8 characters in code #5439
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Conversation
Kudos, SonarCloud Quality Gate passed!
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, there are more occurrences, however
Co-authored-by: Artur <artur@vaadin.com>
Ok so there are still a few others
As they are actually used in the code, does it mean that you are assuming JS files should always be served as utf-8? It does not seem to be the case with Flow: vaadin/flow#15817 |
Usage of these is not intentional. We need to replace these with entities (in case of map icon / menu-bar dots). I'll also update checkbox group example in JSDoc comment and typings to not include non-English characters. |
Btw these were found using |
This seems to be related prettier/prettier#14293 as the unicode escape sequences are automatically removed by prettier on commit |
Tried the above script via
|
This ticket/PR has been released with Vaadin 24.0.0.beta1 and is also targeting the upcoming stable 24.0.0 version. |
Using utf-8 characters provide no benefit but can break file serving when you have encoding issues in your setup