ranger-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ranger-users] PReview utf-8 files


From: Roman Z.
Subject: Re: [Ranger-users] PReview utf-8 files
Date: Wed, 24 Oct 2012 18:26:27 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

On Tue, Oct 23, 2012 at 08:40:43PM +0200, Jostein Berntsen wrote:
> On 22.10.12,22:43, Jostein Berntsen wrote:
> > On 22.10.12,02:41, Roman Z. wrote:
> > > On Sun, Oct 21, 2012 at 11:40:07PM +0200, Jostein Berntsen wrote:
> > > > On 21.10.12,22:14, Roman Z. wrote:
> > > > > On Sun, Oct 21, 2012 at 09:38:47PM +0200, Jostein Berntsen wrote:
> > > > > > On 15.10.12,20:06, Jostein Berntsen wrote:
> > > > > > > When previewing text files with Scandinavian UTF-8 characters 
> > > > > > > like "æ, ø, å"
> > > > > > > these are not displayed correctly. Is there a setting for this 
> > > > > > > somewhere?
> > > > > > > 
> > > > > > 
> > > > > > Is there more information on this somewhere?
> > > > > > 
> > > > > > Jostein
> > > > > 
> > > > > It works for me.  Can you give more information on this?  What's your
> > > > > operating system, locale, ranger version, terminal?  What does it look
> > > > > like?
> > > > > 
> > > > > 
> > > > 
> > > > Here is the information:
> > > > 
> > > > openSUSE 11.4 "Celadon" 
> > > > ranger-git based on ranger 1.5.5
> > > > LANG=no_NO.UTF-8
> > > > Terminal is screen in yakuake.
> > > > 
> > > > Looks like:
> > > > 
> > > > ,MILEPM-FLER; where it should MILEPÆLER
> > > > ,Aktiviteter-MM-xter; where it should be ,Aktiviteter-Møter
> > > > 
> > > > 
> > > > Jostein
> > > 
> > > It appears that your python's unicode support is broken.
> > > 
> > > To quote myself from https://github.com/hut/ranger/issues/16 :
> > > > Usually you see characters like this when python is not compiled with
> > > > unicode/wide character support. If you have gentoo, recompile it with
> > > > USE='wide-unicode'. On other distros, you could try reinstalling it or
> > > > using another python version, like python2.7 instead of python3.1 and
> > > > hope it's compiled properly.
> > > 
> > 
> > I will try to update my Python install, thanks. 
> > 
> 
> I have updated to python 3.2 for Suse which have wide-unicode support, but
> 2.7 is still also on the system. Is it possible to make ranger use python
> 3?
> 
> python3 -V
> 
> Python 3.2.1
> 
> 
> Jostein
> 
> 
> 

python3 /usr/bin/ranger




reply via email to

[Prev in Thread] Current Thread [Next in Thread]