UnicodeDecodeError: 'utf8' codec can't decode byte 0x9c

前端 未结 10 2113
暖寄归人
暖寄归人 2020-11-22 14:49

I have a socket server that is supposed to receive UTF-8 valid characters from clients.

The problem is some clients (mainly hackers) are sending all the wrong kind of

10条回答
  •  生来不讨喜
    2020-11-22 15:28

    Just in case of someone has the same problem. I'am using vim with YouCompleteMe, failed to start ycmd with this error message, what I did is: export LC_CTYPE="en_US.UTF-8", the problem is gone.

提交回复
热议问题