FG
💻 Software

Text files on linux have "<97>" characters

Fresh5 days ago
Mar 15, 20261284 views
Confidence Score0%
0%

Problem

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: Typing bracket nine seven bracket is not …

Error Output

% s/<97>/--/g

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Text files on linux have "<97>" characters

Low Risk

After some troubleshooting I seem to have figured it out. The control sequence is Substituting that for the <97> in the vim code above works.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment