bugranger - Bugs: bug #37174, Wide-character lines get cut too...

 
 

bug #37174: Wide-character lines get cut too soon in the preview

Submitted by:  None
Submitted on:  Thu 23 Aug 2012 07:11:26 AM UTC  
 
Severity: 2 - MinorStatus: Postponed
Privacy: PublicAssigned to: None
Open/Closed: Open

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Tue 05 Feb 2013 05:23:47 AM UTC, comment #1:

This bug doesn't appear in python3. I realize many people are still using python2, but this is a minor issue with a low priority.

Roman Z. <hut>
Project Administrator
Thu 23 Aug 2012 07:11:26 AM UTC, original submission:

It looks as if Ranger (or ncurses?) cut strings by bytes, not by characters. The example screenshot is attached: there are english and russian alphabets on separate lines in an UTF-8-encoded file. Since each cyrillic character is represented by two bytes in UTF-8, the cyrillic string gets cut in the middle of the preview column, not at the right end where it should!

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #26419:  asd.png added by None (5KiB - image/png)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by hut (Posted a comment)
  •  

    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 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 10 Feb 2013 02:49:07 AM UTChutStatusWont Fix=>Postponed
    Tue 05 Feb 2013 05:23:47 AM UTChutSeverity3 - Normal=>2 - Minor
      StatusNone=>Wont Fix
    Thu 23 Aug 2012 07:11:27 AM UTCNoneAttached File-=>Added asd.png, #26419

    Back to the top


    Powered by Savane 3.1-cleanup1