Bug 7770 - tl-shadow-notify does not respect system encoding
Summary: tl-shadow-notify does not respect system encoding
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Other (show other bugs)
Version: trunk
Hardware: PC Unknown
: P2 Normal
Target Milestone: LowPrio
Assignee: Bugzilla mail exporter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-27 10:49 CEST by William Sjöblom
Modified: 2021-09-28 10:10 CEST (History)
0 users

See Also:
Acceptance Criteria:


Attachments
tl-shadow-notify with sv_SE.ISO-8859-1 locale (22.75 KB, image/png)
2021-09-27 10:49 CEST, William Sjöblom
Details

Description William Sjöblom cendio 2021-09-27 10:49:48 CEST
Created attachment 1001 [details]
tl-shadow-notify with sv_SE.ISO-8859-1 locale

tl-shadow-notify seemingly assumes the system encoding to be UTF-8 making the dialog text render incorrectly. This is not a regression and can be reproduced in 4.13.0.

The attached screenshot shows tl-shadow-notify running on a Ubuntu 20.04 system with its locale set to `sv_SE.ISO-8859-1'.
Comment 1 Pierre Ossman cendio 2021-09-27 12:19:54 CEST
I think it's actually the other way around. The code follows the system encoding, however FLTK always wants UTF-8. The screenshot shows Unicode replacement characters rather than the mojibake you would expect if you fed UTF-8 to a latin 1 system.

Note You need to log in before you can comment on or make changes to this bug.