openhab / openhab-linuxpkg

Repo for Linux packages
Eclipse Public License 2.0
18 stars 33 forks source link

Set file encoding to UTF-8 to prevent problems with umlauts. #198

Closed maihacke closed 1 year ago

maihacke commented 3 years ago

There are several issues with umlauts in OH:

https://community.openhab.org/t/solved-umlauts-in-paperui-broken-after-update-from-2-4-to-2-5/88856 https://community.openhab.org/t/umlauts-broken-after-restart-in-oh-2-4/60167

This also applies to OH3. Solution is to start the jvm with UTF-8 encoding.

Signed-off-by: Simon Sielmann simon.spielman@gmx.de

maihacke commented 3 years ago

This ist equivalent to the Windows start script, which is part of the OH distro https://github.com/openhab/openhab-distro/blob/5f17c4a74058a3366ba73ae45779527a5077572a/distributions/openhab/src/main/resources/bin/setenv.bat

BClark09 commented 1 year ago

I'm not sure why I didn't comment here - really sorry about that! This was fixed in the openhab-distro repository since openHAB 3.2.0.

Of course, if there's still an issue with openHAB APT or DNF packages please let me know!