URL:
  <https://savannah.gnu.org/bugs/?68200>

                 Summary: ansi.c: combining-mark repaint should be skipped on
UTF-8 displays
                   Group: GNU Screen
               Submitter: pdey
               Submitted: Tue 31 Mar 2026 09:01:57 PM UTC
                Category: Program Logic
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Unlocked
                 Release: 5.0.0
           Fixed Release: None
         Planned Release: None
           Work Required: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Tue 31 Mar 2026 09:01:57 PM UTC By: Peter Dey <pdey>
In attempting to package Screen 5.x for Debian, a regression test has been
triggered.

Debian includes a regression test for bug #31336 (test: "unicode-output.t").

Combining marks are being rewritten in ansi.c, even if the display is UTF-8
capable.

Proposal: 
Keep the historical repaint in place for legacy displays, but skip it when the
current display advertises UTF-8.  This preserves compatibility with older
terminals while keeping the byte stream identical for UTF-8 users and (and
allows Debian's tests to pass).

Patch attached.






    _______________________________________________________
File Attachments:

Name: preserve-utf8-combining.patch  Size: 589B

<https://file.savannah.gnu.org/file/preserve-utf8-combining.patch?file_id=58425>



    AGPL NOTICE

These attachments are served by Savane. You can download the corresponding
source code of Savane at
https://savannah.gnu.org/source/savane-f290f6b25beb8cb99bbe243a6cd2c5fef79ffcde.tar.gz

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?68200>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature

Reply via email to