Skip to content
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

[bug] Disappearing accents in MQTT messages #1003

Closed
4 of 7 tasks
Micka41 opened this issue Apr 6, 2021 · 2 comments · Fixed by #1007
Closed
4 of 7 tasks

[bug] Disappearing accents in MQTT messages #1003

Micka41 opened this issue Apr 6, 2021 · 2 comments · Fixed by #1007
Assignees
Labels
bug Something isn't working

Comments

@Micka41
Copy link

Micka41 commented Apr 6, 2021

Version

Checklist:

  • I am not using HomeAssistant. Or: a developer has told me to come here.
  • I have checked the troubleshooting section and my problem is not described there.
  • I have read the changelog problem was not mentioned there.

Build/Run method

  • Docker
  • PKG
  • Snap package
  • Manually built (git clone - npm install - npm run build )

zwavejs2mqtt version: <version here, you can find it on control panel>
zwave-js version: <version here, you can find it on control panel>
After an git clone https://github.com/zwave-js/zwavejs2mqtt today

Describe the bug

The accent (éèàë ...) contained in the location or the name are replaced in the MQTT messages by "empty".

Fenêtre -> Fentre
Lumière -> Lumire ....

The problem did not exist in 2.4.1

To Reproduce

Steps to reproduce the behavior:
Update in 3.1
Set name or location with an accent
See MQTT message with MQTT Explorer

Expected behavior

Accents allowed as before.

Additional context

@Micka41 Micka41 added the bug Something isn't working label Apr 6, 2021
@Micka41 Micka41 changed the title [bug] [bug] Disappearing accents in MQTT messages Apr 6, 2021
@robertsLando
Copy link
Member

I think this is due to the new regex used to sanitize topics, I think we should add also accent chars to allowed ones.

@Micka41
Copy link
Author

Micka41 commented Apr 7, 2021

It's work !
Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants