Unicode characters not rendering correctly #8492

Open
opened 2026-01-31 01:30:52 +00:00 by claunia · 0 comments
Owner

Originally created by @willmcgugan on GitHub (May 22, 2020).

Environment

Microsoft Windows [Version 10.0.18363.720]
Terminal v1.0.1401.0

(It's a VM if that makes a difference)

Steps to reproduce

Install Rich python library (https://github.com/willmcgugan/rich), and run the following:

python -m rich.color

Expected behavior

Unicode box characters should render normally. The same output works with OSX / Linux.

Actual behavior

You should see broken unicode characters in the middle of the tables. Here are some examples:

Screen Shot 2020-05-22 at 14 38 00 Screen Shot 2020-05-22 at 14 38 25

If I was to hazard a guess I'd say that the utf-8 has been split over some internal buffer, and a multi-byte character was truncated at the boundary.

Originally created by @willmcgugan on GitHub (May 22, 2020). # Environment Microsoft Windows [Version 10.0.18363.720] Terminal v1.0.1401.0 (It's a VM if that makes a difference) # Steps to reproduce Install Rich python library (https://github.com/willmcgugan/rich), and run the following: ``` python -m rich.color ``` # Expected behavior Unicode box characters should render normally. The same output works with OSX / Linux. # Actual behavior You should see broken unicode characters in the middle of the tables. Here are some examples: <img width="1200" alt="Screen Shot 2020-05-22 at 14 38 00" src="https://user-images.githubusercontent.com/554369/82674016-99c3be80-9c3a-11ea-98ba-31638d3b4073.png"> <img width="1193" alt="Screen Shot 2020-05-22 at 14 38 25" src="https://user-images.githubusercontent.com/554369/82674029-9e887280-9c3a-11ea-82ce-4adacc75893f.png"> If I was to hazard a guess I'd say that the utf-8 has been split over some internal buffer, and a multi-byte character was truncated at the boundary.
claunia added the Resolution-ExternalNeeds-Tag-Fix labels 2026-01-31 01:30:52 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#8492