bugWeeChat - Bugs: bug #34061, Input of wide UTF-8 chars under...


bug #34061: Input of wide UTF-8 chars under Cygwin are displayed as "?"

Submitter:  Sebastien Helleu <flashcode>
Submitted:  Thu 18 Aug 2011 03:05:42 PM UTC
Category:  display Severity:  3 - Normal
Item Group:  display Status:  Fixed
Privacy:  Public Assigned to:  flashcode
Originator Name:  Open/Closed:  Closed
Release:  * 0.3.5 IRC nick:  weirdo
* Mandatory Fields

Add a New Comment Rich Markup

Thu 18 Aug 2011 03:05:42 PM UTC, original submission:  

Under Cygwin, wide UTF-8 chars (more than one byte long) are displayed as "??" in input.

In fact, Cygwin does not send all bytes of UTF-8 char at same time, so WeeChat displays "?" for each malformed UTF-8 byte.

Solution: keep a partial UTF-8 char in memory, and then complete it later when remaining bytes are read.

Problem reported by weirdo on #weechat.

Sebastien Helleu <flashcode>
Group administrator


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by flashcode (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.


    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-10-22 flashcode Open/ClosedOpen Closed
    2011-08-18 flashcode StatusIn Progress Fixed

    Back to the top

    Powered by Savane 3.12