Skip to content

Instantly share code, notes, and snippets.

@jadia
Created August 3, 2019 07:14
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jadia/1f4c2190730ef646d41823b6a6c30926 to your computer and use it in GitHub Desktop.
Save jadia/1f4c2190730ef646d41823b6a6c30926 to your computer and use it in GitHub Desktop.
zsh (anon):12: character not in range error

zsh | (anon):12: character not in range

Solution:

sudo apt-get install -y language-pack-en
sudo update-locale

Then zsh starts working!

@Neoyanghc
Copy link

I do not need the second line, ONLY the first line can solve, thanks a lot

@ericting
Copy link

Thanks,it's resolved!

@dllglishaoyi
Copy link

love you, memeda

@DanielBarbakadze
Copy link

Thanks, it worked 🙌

@CODE-FOR
Copy link

Thanks!

@ZongwuWang
Copy link

It works with only the first command, thanks!

@kevydotvinu
Copy link

👍

@pmdpaula
Copy link

It works well for me. Thanks.

@won4885
Copy link

won4885 commented Feb 24, 2023

It works! thx

@caniro
Copy link

caniro commented Mar 18, 2023

Thanks, it works!

@panlw
Copy link

panlw commented Jul 24, 2023

Great, it works!

@putvr
Copy link

putvr commented Aug 5, 2023

Magic! Thank you!

@sppidy
Copy link

sppidy commented Sep 23, 2023

What to do in arch ?

@bastifpv
Copy link

Works, Thank you

@edwardando
Copy link

On Debian (with ohmyzsh) I added

export LANG="en_GB.UTF-8"
export LC_ALL="en_GB.UTF-8"

before the source $ZSH/oh-my-zsh.sh

@XRTIDE
Copy link

XRTIDE commented Feb 25, 2024

it works on oh-my-zsh!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment