Windows Terminal does not display a line with Thai text in Emacs properly. #2810

Open
opened 2026-01-30 23:05:50 +00:00 by claunia · 0 comments
Owner

Originally created by @veer66 on GitHub (Jul 17, 2019).

Originally assigned to: @zadjii-msft on GitHub.

Environment

Windows: Microsoft Windows [Version 10.0.18362.239]
Windows Terminal: 0.2.1831.0
Remote OS:  Raspbian GNU/Linux 9.8 (stretch) armv7l   
Emacs 25.1.1 with rust-mode
Vim 8.0.707 

Steps to reproduce

  1. Open Windows Terminal
  2. Run ssh to remote GNU/Linux
  3. Download https://file.veer66.rocks/windows/re.rs
  4. Run emacs
  5. Install rust-mode to Emacs
  6. In Emacs, open file re.rs

Expected behavior

Windows Terminal should display this code:

lazy_static! {
    static ref DATE_RE: Regex = Regex::new(r"(\d{4})(\d{2})(\d{2})").unwrap();
    static ref CHUNK_RE: Regex = Regex::new(r"[ก-์]+|\([^\)]+\)").unwrap();
    static ref THAI_RE: Regex = Regex::new(r"[ก-์]+").unwrap();
}

like below:

xfce_term_emacs

Actual behavior

Line 3 was broken.

win-term-emacs

Originally created by @veer66 on GitHub (Jul 17, 2019). Originally assigned to: @zadjii-msft on GitHub. <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING: 1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement. 2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement. 3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number). 4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement. 5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement. All good? Then proceed! --> <!-- This bug tracker is monitored by Windows Terminal development team and other technical folks. **Important: When reporting BSODs or security issues, DO NOT attach memory dumps, logs, or traces to Github issues**. Instead, send dumps/traces to secure@microsoft.com, referencing this GitHub issue. Please use this form and describe your issue, concisely but precisely, with as much detail as possible. --> # Environment ``` Windows: Microsoft Windows [Version 10.0.18362.239] Windows Terminal: 0.2.1831.0 Remote OS: Raspbian GNU/Linux 9.8 (stretch) armv7l Emacs 25.1.1 with rust-mode Vim 8.0.707 ``` # Steps to reproduce 1. Open Windows Terminal 2. Run ssh to remote GNU/Linux 3. Download https://file.veer66.rocks/windows/re.rs 4. Run emacs 5. Install rust-mode to Emacs 6. In Emacs, open file re.rs # Expected behavior Windows Terminal should display this code: ```Rust lazy_static! { static ref DATE_RE: Regex = Regex::new(r"(\d{4})(\d{2})(\d{2})").unwrap(); static ref CHUNK_RE: Regex = Regex::new(r"[ก-์]+|\([^\)]+\)").unwrap(); static ref THAI_RE: Regex = Regex::new(r"[ก-์]+").unwrap(); } ``` like below: ![xfce_term_emacs](https://user-images.githubusercontent.com/370688/61382821-a8816c80-a8d7-11e9-9555-0a2b122bcddd.png) # Actual behavior Line 3 was broken. ![win-term-emacs](https://user-images.githubusercontent.com/370688/61382857-bd5e0000-a8d7-11e9-8240-cf6a62abe92c.png)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#2810