Skip to main content
replaced http://stackoverflow.com/ with https://stackoverflow.com/
Source Link

A solution that I found over on Stackoverflow was the following proposed here for a UnicodeDecodingError, which did work for me:

(setenv "LANG" "en_US.UTF-8")
(setenv "LC_ALL" "en_US.UTF-8")
(setenv "LC_CTYPE" "en_US.UTF-8")

I only actually required the first of the three lines in my case.

Further suggestions specific to Python are in this postthis post, namely to add this to your .emacs init file:

(setenv "PYTHONIOENCODING" "utf-8")

A solution that I found over on Stackoverflow was the following proposed here for a UnicodeDecodingError, which did work for me:

(setenv "LANG" "en_US.UTF-8")
(setenv "LC_ALL" "en_US.UTF-8")
(setenv "LC_CTYPE" "en_US.UTF-8")

I only actually required the first of the three lines in my case.

Further suggestions specific to Python are in this post, namely to add this to your .emacs init file:

(setenv "PYTHONIOENCODING" "utf-8")

A solution that I found over on Stackoverflow was the following proposed here for a UnicodeDecodingError, which did work for me:

(setenv "LANG" "en_US.UTF-8")
(setenv "LC_ALL" "en_US.UTF-8")
(setenv "LC_CTYPE" "en_US.UTF-8")

I only actually required the first of the three lines in my case.

Further suggestions specific to Python are in this post, namely to add this to your .emacs init file:

(setenv "PYTHONIOENCODING" "utf-8")
replaced http://emacs.stackexchange.com/ with https://emacs.stackexchange.com/
Source Link

A solution that I found over on Stackoverflow was the following proposed hereproposed here for a UnicodeDecodingError, which did work for me:

(setenv "LANG" "en_US.UTF-8")
(setenv "LC_ALL" "en_US.UTF-8")
(setenv "LC_CTYPE" "en_US.UTF-8")

I only actually required the first of the three lines in my case.

Further suggestions specific to Python are in this post, namely to add this to your .emacs init file:

(setenv "PYTHONIOENCODING" "utf-8")

A solution that I found over on Stackoverflow was the following proposed here for a UnicodeDecodingError, which did work for me:

(setenv "LANG" "en_US.UTF-8")
(setenv "LC_ALL" "en_US.UTF-8")
(setenv "LC_CTYPE" "en_US.UTF-8")

I only actually required the first of the three lines in my case.

Further suggestions specific to Python are in this post, namely to add this to your .emacs init file:

(setenv "PYTHONIOENCODING" "utf-8")

A solution that I found over on Stackoverflow was the following proposed here for a UnicodeDecodingError, which did work for me:

(setenv "LANG" "en_US.UTF-8")
(setenv "LC_ALL" "en_US.UTF-8")
(setenv "LC_CTYPE" "en_US.UTF-8")

I only actually required the first of the three lines in my case.

Further suggestions specific to Python are in this post, namely to add this to your .emacs init file:

(setenv "PYTHONIOENCODING" "utf-8")
added 3 characters in body
Source Link
n1k31t4
  • 689
  • 8
  • 19

A solution that I found over on Stackoverflow was the following. I tried a solution proposed here for a UnicodeDecodingError, which did work for me:

(setenv "LANG" "en_US.UTF-8")
(setenv "LC_ALL" "en_US.UTF-8")
(setenv "LC_CTYPE" "en_US.UTF-8")

I only actually required the first of the three lines in my case.

Further suggestions specific to Python are in this post, namely to add this to your .emacs init file:

(setenv "PYTHONIOENCODING" "utf-8")

A solution that I found over on Stackoverflow was the following. I tried a solution proposed here for a UnicodeDecodingError, did work:

(setenv "LANG" "en_US.UTF-8")
(setenv "LC_ALL" "en_US.UTF-8")
(setenv "LC_CTYPE" "en_US.UTF-8")

I only actually required the first of the three lines.

Further suggestions specific to Python are in this post, namely to add this to your .emacs init file:

(setenv "PYTHONIOENCODING" "utf-8")

A solution that I found over on Stackoverflow was the following proposed here for a UnicodeDecodingError, which did work for me:

(setenv "LANG" "en_US.UTF-8")
(setenv "LC_ALL" "en_US.UTF-8")
(setenv "LC_CTYPE" "en_US.UTF-8")

I only actually required the first of the three lines in my case.

Further suggestions specific to Python are in this post, namely to add this to your .emacs init file:

(setenv "PYTHONIOENCODING" "utf-8")
Source Link
n1k31t4
  • 689
  • 8
  • 19
Loading