contour icon indicating copy to clipboard operation
contour copied to clipboard

Non-ASCII characters rendered as mojibake

Open clin1234 opened this issue 10 months ago • 3 comments
trafficstars

Contour Terminal version

0.6.0.7452

Installer source

something else (please specify below)

Operating System

Windows 11 10.0.27764.1000

Architecture

x86-64

Other Software

No response

Steps to reproduce

Launch the application

Expected Behavior

When launching the Windows Terminal app, prompt should appear as

C:\Users\שזדס>

Actual Behavior

The Hebrew characters are replaced with mojibake.

Additional notes

When launched from terminal, additional output is given: [error] Ignoring TERM environment variable for child process. [error] freetype: Failed to set LCD filter. unimplemented feature [2024-12-27 12:13:30.283046] [vt.parser] Invalid VT sequence: CSI ? 9001 h [2024-12-27 12:14:36.478446] [vt.parser] Invalid VT sequence: CSI ? 9001 l Debug[qml]: Client process terminated. Closing the window. (qrc:/contour/ui/Terminal.qml:208, expression for onTerminated)

clin1234 avatar Dec 27 '24 17:12 clin1234

Hm. Thank you @clin1234 for your feedback.

When trying this on Linux, it seems to work. I've copy'n'pasted your text into my local termainl:

image

But since you're on Windows, I yet have to give it a try there.

Is it correctly displayed in "Windows Terminal"?

christianparpart avatar Dec 27 '24 18:12 christianparpart

Yes

clin1234 avatar Dec 27 '24 19:12 clin1234

I see the same on Contour Terminal 0.6.1.7494 running on Windows 10 22H2:

Printing the Unicode subrange 0x29a0-0x29ff using Python:

Image

For comparison, here is Windows Terminal using the same font typeface:

Image

And here's mintty:

Image

The behavior is the same whether I use native, DirectWrite or fontconfig as the locator, and whether I use native, DirectWrite or OpenShaper as the text shaper.

Prototyped avatar Jan 21 '25 23:01 Prototyped