[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Ranger-users] PReview utf-8 files
From: |
Jostein Berntsen |
Subject: |
Re: [Ranger-users] PReview utf-8 files |
Date: |
Tue, 23 Oct 2012 20:40:43 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
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
- [Ranger-users] PReview utf-8 files, Jostein Berntsen, 2012/10/15
- Re: [Ranger-users] PReview utf-8 files, Jostein Berntsen, 2012/10/21
- Re: [Ranger-users] PReview utf-8 files, Roman Z., 2012/10/21
- Re: [Ranger-users] PReview utf-8 files, Jostein Berntsen, 2012/10/21
- Re: [Ranger-users] PReview utf-8 files, Roman Z., 2012/10/21
- Re: [Ranger-users] PReview utf-8 files, Jostein Berntsen, 2012/10/22
- Re: [Ranger-users] PReview utf-8 files,
Jostein Berntsen <=
- Re: [Ranger-users] PReview utf-8 files, Roman Z., 2012/10/24
- Re: [Ranger-users] PReview utf-8 files, Jostein Berntsen, 2012/10/25