Skip to content

Instantly share code, notes, and snippets.

@panchicore
Created October 7, 2011 00:25
Show Gist options
  • Save panchicore/1269109 to your computer and use it in GitHub Desktop.
Save panchicore/1269109 to your computer and use it in GitHub Desktop.
solve perl: warning: Setting locale failed.
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = "UTF-8",
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
export LANGUAGE=en_US.UTF-8
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8
locale-gen en_US.UTF-8
dpkg-reconfigure locales
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
@marcusklaas
Copy link

Cheers meng!

@maxlipsky
Copy link

Thanks!

@suguby
Copy link

suguby commented Jan 25, 2016

Tnx!

@valkirilov
Copy link

👍

@nbtk123
Copy link

nbtk123 commented Feb 15, 2016

Thanks!

@alexmalikov
Copy link

Thank you!

@vanduc95
Copy link

vanduc95 commented Feb 12, 2017

Thank you 👍

@alexfromalps
Copy link

👍 👍 👍

@Aspect9
Copy link

Aspect9 commented Sep 22, 2017

thanks!

@campagna91
Copy link

cheers

@kabitacode
Copy link

thank you is very helpful..

@ardalanamini
Copy link

Thanks

@daikaixian
Copy link

cool

@NaitikShah
Copy link

thanks

@andrew-stclair
Copy link

Fixed my issue with Windows Subsystem for Linux after a failed do-release-upgrade

Thanks Mate!

@deumatasha
Copy link

deumatasha commented Jun 19, 2018

This worked perfectly for me after many other tries. Thank you

@eugenesidash
Copy link

TY!

@ibnusulaiman83
Copy link

Terima kasih.

@marceloleiva
Copy link

Thanks!

@kanafghan
Copy link

👍

@tmibvishal
Copy link

thanks

@panchicore
Copy link
Author

thanks to myself cuz I google it and found myself haha

@damienleroux
Copy link

thanks!

@farhansolodev
Copy link

Just export LANG=en_US.UTF-8 worked for me. I am on Ubuntu via WSL2.

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