Skip to content

wrong prompt when open it in other character set #1310

Closed
gam-phon opened this Issue Sep 11, 2012 · 1 comment

2 participants

@gam-phon

in robbyrussell.zsh-theme, In this line
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}) %{$fg[yellow]%}✗%{$reset_color%}"
this character set ✗ will translate to wrong things in other encodes
for example this encodeISO-8859-6:1999 (Latin/Arabic) will result like this
ق :
and the prompt will be right not left.

I found this. when i use PuTTY and changed "Remote character set" from Transaction in windows category.

@ghost
ghost commented Sep 26, 2012

I found solution. Just install this font: https://github.com/andreberg/Meslo-Font/downloads and use UTF-8.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.