Bug 7966 - Non-ASCII output mangled in macOS tlclient.log
Summary: Non-ASCII output mangled in macOS tlclient.log
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Client (show other bugs)
Version: trunk
Hardware: PC Unknown
: P2 Normal
Target Milestone: LowPrio
Assignee: Bugzilla mail exporter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-07 16:41 CEST by Pierre Ossman
Modified: 2022-07-12 12:39 CEST (History)
0 users

See Also:
Acceptance Criteria:


Attachments

Description Pierre Ossman cendio 2022-07-07 16:41:34 CEST
For some reason non-ASCII characters get mangled on macOS in tlclient.log. Example from Swedish locale:

> 2022-07-07T15:58:29: vncviewer[E]: Copyright (C) 1999-2022 TigerVNC-teamet och manga andra
> 2022-07-07T15:58:29: vncviewer[E]: Se bifogad EULA.txt f"or licensinformation.
> 2022-07-07T15:58:29: vncviewer[E]: Se http://www.cendio.com f"or information om ThinLinc.

For some reason, “ö” gets turned in to “"o”, and “å” in to just “a”. Even stranger, “ä” is left alone:

> 2022-07-07T15:58:29: vncviewer[E]:  CConn:       Ansluten till värd 127.0.0.1 port 49170

Running vncviewer by hand works fine. The data is not garbled as it is printed to the console.

It also doesn't look like this is a NFC/NFD issue. The log file is in NFC (at least the “ä” is). As is the output from vncviewer. And the “ö” isn't really decomposed as that's the regular quote character and not a combining character. It is also before the “o”, and combining characters are after.

No idea what is going on here.

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