ha-bridge
ha-bridge copied to clipboard
habridge,fibaro, alexa german Umlaut
Hello,
if i set a device name with a german umlaut, and afterwards trigger the device discovery via alexa the name of such a device is crippled. For example: Name: "Küche" (this means Kitchen) Looks like the following in the Alexa App: Küche
I just found out that does only happen with Alexa 1st Gen, with Alexa 4th the device name is correctly However if i edit the name in the Alexaapp under devices to the correct spelling, it works like expected.
Is there a way to fix fix this?
Best regards sonypsx
Perhaps something like that:
https://php-de.github.io/jumpto/utf-8/#konsequent-utf-8
and if this could be ... something like
header('Content-Type: text/html; charset=UTF-8');
could be the solution.
If I am right, all the
response.header("Content-Type", "text/html");
in
https://github.com/bwssytems/ha-bridge/blob/master/src/main/java/com/bwssystems/HABridge/hue/HueMulator.java
should be replaced with:
response.header("Content-Type", "text/html", "charset=UTF-8");
I dont know if this works, ... perhaps there are other places where the HTTP-Header should be fixed to UTF-8
Any news regarding this topic?