Missing characters
- Dominant language
- No language data
- Stars
- 313
- Forks
- 40
- PR merge metrics
- No merged PRs in 30d
Description
### The problem
I don't know how long this problem has existed (there was no such problem in the past), with ESPHome 2023.11.6 when I create a new FW, it does not display the accented letters (even without an accent).
Example:
ESPHome code:
esphome:
name: eloszoba-erzekelok
friendly_name: Előszoba érzékelők
binary_sensor:
- platform: gpio
pin: GPIO35
name: "Bejárati ajtó"
device_class: door
Normally, I should receive such an entity identifier in HA: binary_sensor.eloszoba_erzekelok_bejarati_ajto
Instead I get: binary_sensor.elszoba_rzkelk_bjati_ajt
So the following accents are not converted to unaccented ones: á, é, í, ó, ő, ü, ű (these are also used in Hungarian words).
Maybe I'm wrong but it seems that UTF-8 encoding doesn't work if friendly_name: Előszoba érzékelők is entered under esphome:.
Neither in friendly_name nor in entity ID.
I want the entity id not to omit the accented characters, but to replace them with plain characters.
That is, let á=a, é=e, í=i, ó=o, ő=o, ü=u, ű=u.
Entity name: Bejárati ajtó
Currently I get this: binary_sensor.elszoba_rzkelk_bjati_ajt
This would be correct: binary_sensor.eloszoba_erzekelok_bejarati_ajto
Is it possible to correct this?
### Which version of ESPHome has the issue?
2023.11.6
### What type of installation are you using?
Home Assistant Add-on
### Which version of Home Assistant has the issue?
2023.11.6
### What platform are you using?
ESP32
### Board
ESP32 Wemos D1, ESP32 WROOM 38pin
### Component causing the issue
_No response_
### Example YAML snippet
```yaml
esphome:
name: eloszoba-erzekelok
friendly_name: Előszoba érzékelők
binary_sensor:
- platform: gpio
pin: GPIO35
name: "Bejárati ajtó"
device_class: door
```
### Anything in the logs that might be useful for us?
_No response_
### Additional information
_No response_
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.