Problem displaying text which contains a combining character (Combining Acute Accent U+0301) #18205

Open
opened 2026-01-31 06:06:49 +00:00 by claunia · 0 comments
Owner

Originally created by @gusbzs on GitHub (Aug 18, 2022).

Windows Terminal version

1.14.1963.0

Windows build number

10.0.22000.0

Other Software

WSL version: 0.65.3.0
Kernel version: 5.15.57.1
WSLg version: 1.0.41
MSRDC version: 1.2.3213
Direct3D version: 1.601.0
DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Windows version: 10.0.22000.856

Ubuntu 20.04.4 LTS

Steps to reproduce

  1. Open an Ubuntu 20.04.4 LTS tab inside Windows Terminal.
  2. Execute the following command to generate file "test.txt" which contains the spanish word "automático" using the Unicode "combining acute accent character U+0301" which is represented in UTF8 by bytes 0xCC and 0x81 (hex).
    echo "6175746f6d61cc817469636f0a" | xxd -r -p - >test.txt
  3. Execute the following command to display the contents of the generated "test.txt" file:
    cat test.txt

Expected Behavior

The spanish word "automático" should be displayed inside Windows Terminal without any additional extra spacing between each letter, just like Windows Notepad displays the same file, which is correct:
image

Actual Behavior

The spanish word "automático" is displayed inside Windows Terminal with extra spacing before and after the combining character:
image

Originally created by @gusbzs on GitHub (Aug 18, 2022). ### Windows Terminal version 1.14.1963.0 ### Windows build number 10.0.22000.0 ### Other Software WSL version: 0.65.3.0 Kernel version: 5.15.57.1 WSLg version: 1.0.41 MSRDC version: 1.2.3213 Direct3D version: 1.601.0 DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp Windows version: 10.0.22000.856 Ubuntu 20.04.4 LTS ### Steps to reproduce 1. Open an Ubuntu 20.04.4 LTS tab inside Windows Terminal. 2. Execute the following command to generate file "test.txt" which contains the spanish word "automático" using the Unicode "combining acute accent character U+0301" which is represented in UTF8 by bytes 0xCC and 0x81 (hex). ` echo "6175746f6d61cc817469636f0a" | xxd -r -p - >test.txt ` 3. Execute the following command to display the contents of the generated "test.txt" file: `cat test.txt` ### Expected Behavior The spanish word "automático" should be displayed inside Windows Terminal without any additional extra spacing between each letter, just like Windows Notepad displays the same file, which is correct: ![image](https://user-images.githubusercontent.com/7851513/185462112-55284ea7-9b11-48c3-bfaa-32e700c46cdc.png) ### Actual Behavior The spanish word "automático" is displayed inside Windows Terminal with extra spacing before and after the combining character: ![image](https://user-images.githubusercontent.com/7851513/185460695-6d0aee0b-9949-4e71-bca0-893daa458a23.png)
claunia added the Issue-BugResolution-Duplicate labels 2026-01-31 06:06:50 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#18205