ianding1 / leetcode.vim

Solve LeetCode problems in Vim!
MIT License
308 stars 43 forks source link

Chinese comment not decode correct. #43

Closed zhngjan closed 4 years ago

zhngjan commented 4 years ago

MACOS: 10.14.6 VIM:8.1 1-1700 leetcode.vim: up to date. python: 3.7.4

When I open my submitted code. I get my Chinese comment wrong rendered.It's just like messy code. I have no idea about this. It's there anyone who handled this situation. Pls guide me how to fix it. image

zhngjan commented 4 years ago

I just fix it. The follow steps are finding out all unicode chars and decode, then replacing all of them. Last split lines and return with a new function.