Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

_p9k_init_params:64: character not in range #469

Closed
riadabdel opened this issue Feb 5, 2020 · 7 comments
Closed

_p9k_init_params:64: character not in range #469

riadabdel opened this issue Feb 5, 2020 · 7 comments

Comments

@riadabdel
Copy link

Hello, i got this error when i try to enter zsh:

test@server-test1:~$ zsh
_p9k_init_params:64: character not in range                                                               
server-test1% 

what is missing ?

@romkatv
Copy link
Owner

romkatv commented Feb 5, 2020

What's the output of the following command?

() {
  emulate -L zsh
  locale
  locale -a
}

@riadabdel
Copy link
Author

emulate -L zsh
emulate: command not found


locale
LANG=fr_FR
LANGUAGE=fr_FR:
LC_CTYPE="fr_FR"
LC_NUMERIC="fr_FR"
LC_TIME="fr_FR"
LC_COLLATE="fr_FR"
LC_MONETARY="fr_FR"
LC_MESSAGES="fr_FR"
LC_PAPER="fr_FR"
LC_NAME="fr_FR"
LC_ADDRESS="fr_FR"
LC_TELEPHONE="fr_FR"
LC_MEASUREMENT="fr_FR"
LC_IDENTIFICATION="fr_FR"
LC_ALL=


locale -a
C
C.UTF-8
en_US.utf8
french
fr_FR
fr_FR.iso88591
POSIX

@romkatv
Copy link
Owner

romkatv commented Feb 5, 2020

Please run the command from Zsh. From the same session where you get the error.

@riadabdel
Copy link
Author

sorry.
like that ?:


() {
  emulate -L zsh
  locale
  locale -a
}
LANG=fr_FR
LANGUAGE=fr_FR:
LC_CTYPE="fr_FR"
LC_NUMERIC="fr_FR"
LC_TIME="fr_FR"
LC_COLLATE="fr_FR"
LC_MONETARY="fr_FR"
LC_MESSAGES="fr_FR"
LC_PAPER="fr_FR"
LC_NAME="fr_FR"
LC_ADDRESS="fr_FR"
LC_TELEPHONE="fr_FR"
LC_MEASUREMENT="fr_FR"
LC_IDENTIFICATION="fr_FR"
LC_ALL=
C
C.UTF-8
en_US.utf8
french
fr_FR
fr_FR.iso88591
POSIX

@romkatv romkatv closed this as completed in a12f7ac Feb 5, 2020
@romkatv
Copy link
Owner

romkatv commented Feb 5, 2020

sorry.
like that ?:

Yes. Thanks!

Should be fixed now. Once you update powerlevel10k, the error should be gone.

Note that your prompt won't work if there are non-ascii characters in it. See https://github.com/romkatv/powerlevel10k/blob/master/README.md#zsh-character-not-in-range.

@riadabdel
Copy link
Author

Thanks a lot, thats work :D
i added this line to, in terminal, that i found on #153 (comment)
echo 'export LANG=C.UTF-8' >>! ~/.zshrc

@romkatv
Copy link
Owner

romkatv commented Feb 5, 2020

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants