Bug 8143 - tl-setup text mode is fragile on non UTF-8 systems
Summary: tl-setup text mode is fragile on non UTF-8 systems
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Server Installer (show other bugs)
Version: 4.14.0
Hardware: PC Unknown
: P2 Normal
Target Milestone: LowPrio
Assignee: Bugzilla mail exporter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-24 13:48 CEST by Frida Flodin
Modified: 2023-04-26 10:53 CEST (History)
0 users

See Also:
Acceptance Criteria:


Attachments

Description Frida Flodin cendio 2023-04-24 13:48:40 CEST
We write the messages directly in the python modules, and those files are utf-8. Right now, we have no check or fallback if these characters we want to print are possible to encode with the character map of the terminal where tl-setup is run. 

This results in an "Internal Error" and a traceback in tl-setup-log, see bug 8141. That bug was solved by replacing a character with an ascii-equivalent. But we need a more future-proof solution. Maybe at least autotests that catch this.

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