1
I'm experiencing some strange file corruptions when editing PHP files in VIM/iTerm.
This is not exclusive to these but the corruptions are slightly different in Nano. Same issues appear in the default terminal.
Same files open fine on other (but newer) iMacs in the office and my Ubuntu laptop.
I'm SSHing into an Ubuntu server when editing these files.
Anyway, for example if I open a file that has been populated with the text "You’re supposed to be working."
It appears on mine as "You?re supposed to be working."
If I attempt to replace the character, I get "?<80><9d>" instead.
What's the value of
:set encoding?
in Vim? Does it work when you set it toutf-8
? – Ingo Karkat – 2013-01-28T13:46:17.607Value is utf-8 :s
Now NetBeans has also stopped accepting these characters and prints this instead: donât – Alex L – 2013-01-28T14:04:09.187