DevSinghSachan / multilingual_nmt

Experiments on Multilingual NMT
47 stars 8 forks source link

unicodeDecodeError #5

Closed zhangzhen999 closed 5 years ago

zhangzhen999 commented 5 years ago

unicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 904: ordinal not in range(128) [root@ccb234d5f670 multilingual_nmt]

DevSinghSachan commented 5 years ago

Could you paste the run command here and also give a brief description of the system environment so that I can reproduce this error.

zhangzhen999 commented 5 years ago

这个问题我已经解决了,我的解决办法如下: $ sudo vi /etc/profile 按a或i进入编辑模式 export LANG='en_US.UTF-8' export LC_ALL='en_US.UTF-8' 按Esc键退出编辑模式 :wq (保存并退出) $ source /etc/profile

zhangzhen999 commented 5 years ago

I have solved this problem, my solution is as follows: $ 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 Esc to exit edit mode :wq (save and exit) $ source /etc/profile

DevSinghSachan commented 5 years ago

Great, so I am closing this issue for now!