FAQ  •  Register  •  Login

Character encoding error (german special chars) v2.3

<<

soerentsch

User avatar

Serviio newbie

Posts: 15

Joined: Tue Jun 28, 2022 10:15 am

Post Mon Oct 24, 2022 6:04 pm

Character encoding error (german special chars) v2.3

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.
Attachments
Screenshot 2022-10-24 200315.png
Screenshot with the encoding error
Screenshot 2022-10-24 200315.png (4.87 KiB) Viewed 2068 times
<<

atc98092

User avatar

DLNA master

Posts: 5249

Joined: Fri Aug 17, 2012 10:22 pm

Location: Washington (the state)

Post Mon Oct 24, 2022 9:53 pm

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

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.
Dan

LG NANO85 4K TV, Samsung JU7100 4K TV, Sony BDP-S3500, Sharp 4K Roku TV, Insignia Roku TV, Roku Ultra, Premiere and Stick, Nvidia Shield, Yamaha RX-V583 AVR.
Primary server: Intel i5-6400, 16 gig ram, Windows 10 Pro, 22 TB hard drive space | Test server Windows 10 Pro, AMD Phenom II X4 965, 8 gig ram

HOWTO: Enable debug logging HOWTO: Identify media file contents
<<

soerentsch

User avatar

Serviio newbie

Posts: 15

Joined: Tue Jun 28, 2022 10:15 am

Post Tue Oct 25, 2022 9:35 am

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

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.
Attachments
2022-10-25 11_23_09-Serviio console - Presentation.png
Response rest/presentation
2022-10-25 11_23_09-Serviio console - Presentation.png (10.55 KiB) Viewed 2043 times
<<

soerentsch

User avatar

Serviio newbie

Posts: 15

Joined: Tue Jun 28, 2022 10:15 am

Post Tue Oct 25, 2022 11:30 am

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

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.
Attachments
2022-10-25 13_21_46-WinMerge - [browsingCategories_de.properties x 2].jpg
Compare v2.2.1 vs v2.3
2022-10-25 13_21_46-WinMerge - [browsingCategories_de.properties x 2].jpg (112.72 KiB) Viewed 2038 times
<<

atc98092

User avatar

DLNA master

Posts: 5249

Joined: Fri Aug 17, 2012 10:22 pm

Location: Washington (the state)

Post Tue Oct 25, 2022 1:35 pm

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

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.
Dan

LG NANO85 4K TV, Samsung JU7100 4K TV, Sony BDP-S3500, Sharp 4K Roku TV, Insignia Roku TV, Roku Ultra, Premiere and Stick, Nvidia Shield, Yamaha RX-V583 AVR.
Primary server: Intel i5-6400, 16 gig ram, Windows 10 Pro, 22 TB hard drive space | Test server Windows 10 Pro, AMD Phenom II X4 965, 8 gig ram

HOWTO: Enable debug logging HOWTO: Identify media file contents
<<

soerentsch

User avatar

Serviio newbie

Posts: 15

Joined: Tue Jun 28, 2022 10:15 am

Post Wed Oct 26, 2022 7:22 am

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

<<

soerentsch

User avatar

Serviio newbie

Posts: 15

Joined: Tue Jun 28, 2022 10:15 am

Post Mon Nov 07, 2022 2:15 pm

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

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)

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 37 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.