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

 
 

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

Submitted by:  Sebastien Helleu <flashcode>
Submitted on:  Thu 18 Aug 2011 03:05:42 PM UTC  
 
Category: displaySeverity: 3 - Normal
Item Group: displayStatus: Fixed
Privacy: PublicAssigned to: Sebastien Helleu <flashcode>
Originator Name: Open/Closed: Closed
Release: 0.3.5IRC nick: weirdo

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project AdministratorIn charge of this item.

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 22 Oct 2011 10:45:08 AM UTCflashcodeOpen/ClosedOpen=>Closed
    Thu 18 Aug 2011 03:34:49 PM UTCflashcodeStatusIn Progress=>Fixed

    Back to the top


    Powered by Savane 3.1-cleanup1