0sfh
0sfh

Reputation: 13

Strange characters appearing in vim after quitting from the file

This might be quite weird for you. After I press :wq and reopen my file strange characters appear like this @t += 1^[[>1;4402;0c , rather it should just be @t += 1. Program is not throwing any error or exceptions.Also these characters don't show up when I open the file in gedit or sublime text.They are also hooked on a particular line irrespective of code or any content on that line.Any help?

Upvotes: 0

Views: 1446

Answers (1)

Rajat Khandelwal
Rajat Khandelwal

Reputation: 487

Error might be because of encoding scheme. Try UTF-8.

For setting UTF-8 as default encoding scheme read here

Upvotes: 1

Related Questions