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

 
 

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

Submitter:  None
Submitted:  Thu 23 Aug 2012 07:11:26 AM UTC
   
 
Severity:  2 - Minor Status:  Postponed
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group 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 Files:
   
   
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
  • -email is unavailable- added by hut (Posted a comment)
  •  

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

    Date Changed by Updated Field Previous Value => Replaced by
    2013-02-10 hut StatusWont Fix Postponed
    2013-02-05 hut Severity3 - Normal 2 - Minor
        StatusNone Wont Fix
    2012-08-23 None Attached File- Added asd.png, #26419

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code