You are not logged in.

#1 2017-01-17 10:39:15

Biboozz
Member
Registered: 2016-10-18
Posts: 64

[CLOSED] URxvt unicode probleme

Hi guys,

i'm having a probleme i can't fixe since i installed Arch: urxvt doesn't print UTF-8 chars.
Yesterday i succeded to prind some UTF-8 but today after rebooting they all print other characters (like à or Ï) while they were printed as squares before.

Here is my local output:

LANG=
LC_CTYPE=
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=

and my .Xresources:

URxvt*background: black
URxvt*foreground: white
URxvt*font:       xft:DejaVu Sans Mono for Powerline
URxvt*scrollBar:  false
URxvt*termName:   rxvt-unicode-256color
urxvt*imLocale:   en_US.UTF-8

Thanks for your help smile

Last edited by Biboozz (2017-03-23 09:59:57)

Offline

#2 2017-01-17 11:15:52

xsmile
Member
Registered: 2012-03-31
Posts: 31

Re: [CLOSED] URxvt unicode probleme

Offline

#3 2017-01-17 11:48:13

Biboozz
Member
Registered: 2016-10-18
Posts: 64

Re: [CLOSED] URxvt unicode probleme

My locale is already set up but the lang evironement variable is still empty

My /etc/locale.conf

LANG=en_US.UTF-8
LANGUAGE=en_US.UTF-8
LC_COLLATE=C

Offline

#4 2017-01-17 12:21:24

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,846
Website

Re: [CLOSED] URxvt unicode probleme

What shell are you using?


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#5 2017-01-17 13:33:34

Starfish
Member
From: Germany
Registered: 2015-10-21
Posts: 134

Re: [CLOSED] URxvt unicode probleme

I am 99.9% sure that this is because of powerline. Take a look at a post of mine, which is about the same problem:
https://bbs.archlinux.org/viewtopic.php?id=216744

Also note that there has been a python upgrade recently from 3.5 to 3.6. So if you manually inserted the site-package for powerline in 3.5, you now need to move it to 3.6 by hand.

Last edited by Starfish (2017-01-17 13:36:34)


"Yesterday is history, tomorrow is a mystery, but today is a gift. That is why it is called the present." - Master Oogway

Offline

#6 2017-01-23 12:53:05

Biboozz
Member
Registered: 2016-10-18
Posts: 64

Re: [CLOSED] URxvt unicode probleme

Sorry for the late, i was a bit buisy recently.

@Starfish i did what you said but it look like it changed nothing...
@WorMzy i'm using urxvt

Offline

#7 2017-01-23 14:37:07

Starfish
Member
From: Germany
Registered: 2015-10-21
Posts: 134

Re: [CLOSED] URxvt unicode probleme

Biboozz wrote:

@WorMzy i'm using urxvt

That's not the shell, that's the terminal emulator. Shells are bash, zsh, csh, etc.

What do you mean by "I did what you said and it changed nothing". Have you installed the fonts for powerline?

Last edited by Starfish (2017-01-23 14:38:19)


"Yesterday is history, tomorrow is a mystery, but today is a gift. That is why it is called the present." - Master Oogway

Offline

#8 2017-01-23 16:42:50

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,523
Website

Re: [CLOSED] URxvt unicode probleme

In addition to the above information, please post the output of the following:

grep -v '^#' /etc/locale.gen

"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#9 2017-01-30 15:47:45

Biboozz
Member
Registered: 2016-10-18
Posts: 64

Re: [CLOSED] URxvt unicode probleme

Sorry again for the late...

@Trilby here is my output :

en_US.UTF-8 UTF-8

@starfish I'm using ZSH with oh-my-zsh but i have an utf8 problem with vim too. Instead of having a square i have a character like "Ï" (most often).

Offline

Board footer

Powered by FluxBB