You are not logged in.

#1 2019-06-11 06:20:07

wire7ack
Member
Registered: 2019-05-18
Posts: 35

[SOLVED] URxvt - Invalid Unicode character displaying

Hello (sorry for my bad English)

$ locale -a
C
POSIX
en_US.utf8
ru_RU.utf8
$ cat /etc/locale.conf
LANG="en_US.UTF-8"
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="ru_RU.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="ru_RU.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_ADDRESS="ru_RU.UTF-8"
LC_NAME="ru_RU.UTF-8"
LC_PAPER="ru_RU.UTF-8"
LC_TELEPHONE="ru_RU.UTF-8"
LC_MEASUREMENT="ru_RU.UTF-8"
LC_IDENTIFICATION="ru_RU.UTF-8"
$ cat ~/.Xresources
URxvt.font: xft:Hack:size=9
$ cat ~/.zshrc
export ZSH="/home/whoami/.oh-my-zsh"
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8

ZSH_THEME="robbyrussell"

plugins=(git)

source $ZSH/oh-my-zsh.sh
$ cat ~/.oh-my-zsh/themes/robbyrussell.zsh-theme
local ret_status="%(?:%{$fg_bold[green]%}➜ :%{$fg_bold[red]%}➜ )"
PROMPT='${ret_status} %{$fg[cyan]%}%c%{$reset_color%} $(git_prompt_info)'

ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_bold[blue]%}git:(%{$fg[red]%}"
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%} "
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}) %{$fg[yellow]%}✗"
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%})"

Terminal - "rxvt-unicode"
photoeditorsdk-export-2.png

Help please. Everything works on "termite". I tried to change the font to the default termite font, but the result did not change.
Thanks

SOLVED: Hurray, earned. Just rebooted; )
Thanks for answer.

Last edited by wire7ack (2019-06-11 10:50:08)

Offline

#2 2019-06-11 07:43:13

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,500

Re: [SOLVED] URxvt - Invalid Unicode character displaying

It's not a font issue but a bad locale (missing glyphs would be empty or empty boxes or boxes w/ a number inside), the cause is very likely OMZ (because it always is) so please first try to skip that and see whether the glyph renders correctly in such shell. Also check the actual "locale" output inside the shells.

Offline

#3 2019-06-11 10:19:19

wire7ack
Member
Registered: 2019-05-18
Posts: 35

Re: [SOLVED] URxvt - Invalid Unicode character displaying

seth wrote:

It's not a font issue but a bad locale (missing glyphs would be empty or empty boxes or boxes w/ a number inside), the cause is very likely OMZ (because it always is) so please first try to skip that and see whether the glyph renders correctly in such shell. Also check the actual "locale" output inside the shells.

In shell it is displayed as a question mark. By the way, when I type in Russian in urxvt, it is not displayed

Offline

Board footer

Powered by FluxBB