Unicodedecodeerror: ' ASCII ' codec can ' t decode byte 0xe2 in position 30

Source: Internet
Author: User

Tags: unicodedecodeerror: ' ASCII ' codec ordinal not in range


Unicodedecodeerror: ' ASCII ' codec can ' t decode byte 0xe2 in position 30:ordinal not in range


(128)


Workaround:


$ sudo vi/etc/profile


Press A or I to enter edit mode


Export lang= ' en_US. UTF-8 '

Export Lc_all= ' en_US. UTF-8 '


Press the ESC key to exit edit mode


: Wq (Save and exit)


$ source/etc/profile



This article from "Linux" blog, declined reprint!

Unicodedecodeerror: ' ASCII ' codec can ' t decode byte 0xe2 in position 30

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

Tags Index: