bugGNU Screen - Bugs: bug #29106, Some utf-8 characters are not...

 
 

bug #29106: Some utf-8 characters are not displayed if it is at the end of line.

Submitted by:  Takeshi Banse <hchbaw>
Submitted on:  Sun 07 Mar 2010 09:40:31 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: ClosedRelease: Cur Dev Sources
Fixed Release: 4.1.0Planned Release: 4.1.0
Work Required: None

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Mon 08 Mar 2010 03:04:26 PM UTC, comment #3:

Cool. Thanks for trying it out. The patch for the 'master' branch is working pretty well for me. So I committed it in eb4cea7.

Thanks again.

Sadrul Habib Chowdhury <sadrul>
Project Administrator
Mon 08 Mar 2010 12:07:38 PM UTC, comment #2:

Wow! Thanks for taking the time.

The unicode++ branch works like a charm :)

Thank you very much Sadrul!

Takeshi Banse <hchbaw>
Sun 07 Mar 2010 10:38:32 PM UTC, comment #1:

Hi. I can confirm the bug.

I have checked in a fix in the unicode++ branch: http://git.savannah.gnu.org/cgit/screen.git/commit/?h=unicode%2b%2b&id=50eb9b71de8e814c171ca5dd5a6070765573983d

The patch you attached here doesn't seem to fix the problem for me (in 'master'). The fix in the unicode++ wouldn't quite work in 'master', either. Instead, could you please see if the attached patch works for you?

Thanks for finding the bug, and the cause for it.

(file #19878)

Sadrul Habib Chowdhury <sadrul>
Project Administrator
Sun 07 Mar 2010 09:40:31 AM UTC, original submission:

Hi.

I noticed that some utf-8 characters are not displayed if it is at the end
of line. For example, please simply `cat` the below text file in one of the
split regions.

-- >8 -- beginning of text -- >8 --
1:abcdefghijklmn
2:いろはにほへと
3:いろはにほへto
-- >8 -- end of text -- >8 --

The `と' character is not displayed at the end of the second line.

Attached patch spots this particular problem.

regards.

Takeshi Banse <hchbaw>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #19878:  29106.fix added by sadrul (975B - application/octet-stream)
file #19872:  utf8.txt added by hchbaw (64B - text/plain)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by sadrul (Updated the item)
  • -unavailable- added by hchbaw (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 7 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 08 Mar 2010 03:04:26 PM UTCsadrulStatusNone=>Fixed
      Open/ClosedOpen=>Closed
      Fixed ReleaseNone=>4.1.0
      Planned ReleaseNone=>4.1.0
    Sun 07 Mar 2010 10:38:32 PM UTCsadrulAttached File-=>Added 29106.fix, #19878
    Sun 07 Mar 2010 09:40:32 AM UTChchbawAttached File-=>Added utf8.txt, #19872
    Sun 07 Mar 2010 09:40:31 AM UTChchbawAttached File-=>Added teach-LPutChar-to-doublechar-presence.diff, #19871

    Back to the top


    Powered by Savane 3.1-cleanup1