Text files on linux have "<97>" characters
Posted
by user35489
on Super User
See other posts from Super User
or by user35489
Published on 2010-04-28T23:11:48Z
Indexed on
2010/04/28
23:18 UTC
Read the original article
Hit count: 149
text-editing
When viewing a particular text file in vim or less on Linux or OS X, all the en dashes show up as highlighted "<97>" characters.
What control-sequence do I need to type in order to substitute the hyphens back? For example, the following doesn't work in vim:
% s/<97>/--/g
Typing bracket nine seven bracket is not the same as typing the actual special character.
© Super User or respective owner