bugranger - Bugs: bug #36095, Ranger doesn't support accentuated...

 
 

bug #36095: Ranger doesn't support accentuated characters anymore.

Submitted by:  None
Submitted on:  Thu 05 Apr 2012 06:36:52 AM UTC  
 
Severity: 3 - NormalStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Thu 05 Apr 2012 11:05:21 AM UTC, comment #1:

Hi, this is already fixed in git. See the "get ranger with git" section at http://ranger.nongnu.org/download.html

Roman Z. <hut>
Project Administrator
Thu 05 Apr 2012 06:36:52 AM UTC, original submission:

I am french so a lot of my filenames contains accentuated characters such as é è ê à ù and so on. I've never had any problem to access to this files with the 1.5-2 version of ranger but since I'm under the 1.5-3 it doesn't work at all.

For example : trying to access to ~/pdf/mathématiques/ with ranger :

----------BEGINNING---------------------------------------
ranger version: 1.5.3, executed with python 2.7.2+
Locale: fr_FR.UTF-8
Current file: /home/cym13/pdf/mathématiques/algèbre
Traceback (most recent call last):
File "/home/cym13/usr/apt/ranger-1.5.3/ranger/core/main.py", line 145, in main
fm.loop()
File "/home/cym13/usr/apt/ranger-1.5.3/ranger/core/fm.py", line 191, in loop
ui.redraw()
File "/home/cym13/usr/apt/ranger-1.5.3/ranger/gui/ui.py", line 261, in redraw
self.draw()
File "/home/cym13/usr/apt/ranger-1.5.3/ranger/gui/ui.py", line 296, in draw
fixed_cwd = cwd.encode('utf-8', 'surrogateescape'). \
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 10: ordinal not in range(128)

ranger crashed. Please report this traceback at:
http://savannah.nongnu.org/bugs/?group=ranger&func=additem
-----------END------------------------------------------------------

But once renamed in "mathematics" there isn't any more problem.

I hope that this will be fixed soon, I really don't want to rename all my files (and adapt all my scripts).

Anonymous

 

(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 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 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 05 Apr 2012 11:05:21 AM UTChutStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1