URL:
<http://savannah.nongnu.org/bugs/?34061>
Summary: Input of wide UTF-8 chars under Cygwin are displayed
as "?"
Project: WeeChat
Submitted by: flashcode
Submitted on: jeu. 18 août 2011 17:05:42 CEST
Category: display
Severity: 3 - Normal
Item Group: display
Status: In Progress
Privacy: Public
Assigned to: flashcode
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 0.3.5
IRC nick: weirdo
_______________________________________________________
Details:
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.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?34061>
_______________________________________________
Message posté via/par Savannah
http://savannah.nongnu.org/
_______________________________________________
Weechat-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/weechat-dev