Bug 12330

Summary: dhcp.cgi: Remarks in static leases cannot contain unicode characters
Product: IPFire Reporter: Michael Tremer <michael.tremer>
Component: ---Assignee: Assigned to nobody - feel free to grab it and work on it <nobody>
Status: CLOSED DUPLICATE QA Contact:
Severity: Aesthetic Issue    
Priority: Will affect most users CC: ip.fire, tschoening
Version: 2Keywords: GoodFirstBug
Hardware: unspecified   
OS: Unspecified   
Attachments: Screenshot OpenVPN

Description Michael Tremer 2020-03-20 16:56:29 UTC
It breaks any string that contains special characters like an Umlaut for example (äöü) and shows some funny UTF-8 characters in the table after hitting "Save".

This probably only needs to be consistently encoded when read and written to file.
Comment 1 Thorsten Schöning 2021-06-16 09:24:58 UTC
Created attachment 909 [details]
Screenshot OpenVPN

The same happens for OpenVPN as well. The attached screenshot is after multiple attempts to create a connection with invalid name, hence multiple wrongly encoded UTF-8 bytes, and after successfully creating a new connection. In the latter case the web-UI as well as the input to change the remark show individual UTF-8 bytes instead of the correct character "ö".
Comment 2 Michael 2022-09-17 14:23:26 UTC
Can confirm this, just had the same issue when writing "Büro" into any remark of a dhcp lease.

This results e.g. in 
  Echo Dot (Büro)
Comment 3 Michael Tremer 2024-04-08 17:16:36 UTC

*** This bug has been marked as a duplicate of bug 12395 ***