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.

Submitter:  Takeshi Banse <hchbaw>
Submitted:  Sun 07 Mar 2010 09:40:31 AM UTC
   
 
Category:  None Severity:  3 - Normal
Priority:  * 5 - Normal Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed Release:  Cur Dev Sources
Fixed Release:  4.1.0 Planned Release:  4.1.0
Work Required:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group 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>
Group 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 Files:
   
   
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
  • -email is unavailable- added by sadrul (Updated the item)
  • -email is unavailable- added by hchbaw (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 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-03-08 sadrul StatusNone Fixed
        Open/ClosedOpen Closed
        Fixed ReleaseNone 4.1.0
        Planned ReleaseNone 4.1.0
    2010-03-07 sadrul Attached File- Added 29106.fix, #19878
    2010-03-07 hchbaw Attached File- Added utf8.txt, #19872
    2010-03-07 hchbaw Attached File- Added teach-LPutChar-to-doublechar-presence.diff, #19871

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code