hylang / hy-mode

Hy mode for Emacs
GNU General Public License v3.0
189 stars 48 forks source link

Solve UnicodeEncodeError issue #40

Closed frankyxhl closed 7 years ago

frankyxhl commented 7 years ago

Hi,

I got a Unicode error(UnicodeEncodeError: 'utf-8' codec can't encode characters in position 3-8: surrogates not allowed) when I wanted to type some unicode word like (print "测试")

Then I googled a result from here: http://emacs.stackexchange.com/questions/24139/unicodeencodeerror-in-inferior-python-under-windows

And it works.

Thanks!

zackmdavis commented 7 years ago

Thanks! Sorry no one got to this earlier. Looks fine to me.