You are not logged in.
Pages: 1
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
Last edited by Biboozz (2017-03-23 09:59:57)
Offline
You need to set up your locale: https://wiki.archlinux.org/index.php/Lo … the_locale.
Offline
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
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
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
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
@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
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
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
Pages: 1