Powerlevel9k: Terminal does not take the accents in Zsh

Created on 22 Mar 2017  路  8Comments  路  Source: Powerlevel9k/powerlevel9k

As you see in this image below, when I put the theme powerlever9k in zsh with oh-my-zsh the terminal is put in English and the accents do not catch them, any ideas?
SO: Arch linux, gnome-terminal and Tilix (terminix)

PS: only happens to me with this subject , the others themes of oh-my-zsh does not happen.
captura de pantalla de 2017-03-22 23-47-17

question

All 8 comments

Thanks for the report @D4v2z . Interesting.
The only place we set locales is in functions/icons.zsh, because if the user did not set a locale, the icons would break with a nasty error message ("character out or range").

Have you set a locale?

@dritter Thanks for replying, my set in locale with powerlevel and Zsh
captura de pantalla de 2017-03-23 01-03-05

Theme "Agnoster" (for example) and Zsh
captura de pantalla de 2017-03-23 00-39-52

Theme powerlever9k and Zsh
captura de pantalla de 2017-03-23 01-12-27

Theme "Agnoster" (for example) and Zsh
captura de pantalla de 2017-03-23 01-14-59

Hope this can help you!

Could you install the locale for en_US.utf8 and see if that helps?

Background is that we had to pick a default locale for the utf8 code points in functions/icons.zsh to avoid further errors. For lowest impact, we chose en_US, as this is the most widespread locale around.

Good afternoon, he got to know that it is, in /etc/locale.gen I have enabled the "en_US.UTF-8" apart from the three of my language and it works, thanks for the help.

Awesome! Thanks for the report. I added it to the troubleshooting wiki page. And sorry for the inconvenience.

One thing, when you put '/etc/locale.gen' and to enable "LANG=en_US.UTF-8" you have to generate locale with 'sudo locale-gen' or like root 'locale-gen', otherwise it will not work.

It is for Arch:
https://wiki.archlinux.org/index.php/Locale

That is an addition to the troubleshooting paragraph I wrote, right? Yeah, I had thought about adding some words on how to regenerate the locale. At last I skipped it, because it differs on the various OSes...

Btw. Your profile pic is perfect for this theme! :)

Thanks for that extra bit in the troubleshooting guide, @dritter, and I'm glad you're up and running, @D4v2z!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

iiison picture iiison  路  3Comments

agungsetiawan picture agungsetiawan  路  6Comments

shibumi picture shibumi  路  5Comments

dritter picture dritter  路  5Comments

davidmpaz picture davidmpaz  路  3Comments