Page 1 of 1

Character encoding error (german special chars) v2.3

PostPosted: Mon Oct 24, 2022 6:04 pm
by soerentsch
Hi all,
with Serviio v2.3 i get character encoding errors in my DLNA client app and the Serviio MediaBrowser.

I use my Docker Image https://hub.docker.com/r/soerentsch/serviio with Serviio v2.3
The client App is "AirReceiver" on FireTV. The MediaBrowser is running on Google Chrome and/or Microsoft Edge.

Re: Character encoding error (german special chars) v2.3

PostPosted: Mon Oct 24, 2022 9:53 pm
by atc98092
First suggestion is to flush your browser cache. I've seen some strange behavior like that with previous upgrades and clearing the cache usually resolves it.

Re: Character encoding error (german special chars) v2.3

PostPosted: Tue Oct 25, 2022 9:35 am
by soerentsch
Well, perhaps my post was not clear enough.
It's not only the Web Apps (Console, MediaBrowser and REST API (see the screenshot).
It's also the DLNA Interface.

BTW: I tested on Windows 10, Windows 11, Google Chrome Guest Modus (This modus start everytime with an empty/inital cache, very usefull, if you test angular, SAPUI5 or other Web Apps).
The DLNA Interface was consumind by FireTV Sticks and the "AirReceiver" Android App. Also with the native clients of an LG WebOS SmartTV and of a PlayStation 4.

All this clients have the same issue with the character encoding.

If i should guess, i would take a look at the new org.serviio.i18n.Utf8ResourceBundle class.

Re: Character encoding error (german special chars) v2.3

PostPosted: Tue Oct 25, 2022 11:30 am
by soerentsch
Just one more hint for the debugger:

I compared the browsingCategories_de.properties file from v2.2.1 and v2.3

If you take a look at the screenshot, you can see that the v2.2.1 file is ANSI encoded with masked special chars. The v2.3 file is UTF-8 encoded w/o masked chars.

Re: Character encoding error (german special chars) v2.3

PostPosted: Tue Oct 25, 2022 1:35 pm
by atc98092
OK, outside my expertise now. Most screen errors I've seen reported in the past was always a browser cache issue, but what you're seeing goes deeper than that.

Re: Character encoding error (german special chars) v2.3

PostPosted: Wed Oct 26, 2022 7:22 am
by soerentsch

Re: Character encoding error (german special chars) v2.3

PostPosted: Mon Nov 07, 2022 2:15 pm
by soerentsch
Just as a follow up:
  • This Issue will be fixed with Serviio v2.4
  • This Issue in Serviio v2.3 concerns only setups with a newer version of OpenJDK as 8 (e.g. OpenJDK 17)