weechat-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Weechat-dev] [bug #34061] Input of wide UTF-8 chars under Cygwin are di


From: Sebastien Helleu
Subject: [Weechat-dev] [bug #34061] Input of wide UTF-8 chars under Cygwin are displayed as "?"
Date: Thu, 18 Aug 2011 15:05:43 +0000
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:6.0) Gecko/20100101 Firefox/6.0

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/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]