[ale] vim set list not showing special characters seen with cat -vt

Lightner, Jeffrey JLightner at dsservices.com
Fri Jun 2 15:01:52 EDT 2017


The internet has a thousand posts saying ":set list" will show hidden characters.

However that is NOT showing characters I know to be in the file:

If I do a "cat" with no flags on a file it contains a line (obfuscated to protect the guilty) like this:
ORDER_HEADER|OBFUSCATE|###########|##########|USD|OBFUSCATE|AA||OBFUSCATE|#### OBFUSCATE PARKWAY|OFUSCATE ###  SUITE ###||ATLANTA|GA|#####|###|######|USER at ADDRESS.COM|FIRST LAST |### OBFUSCATE PLACE ||CITY||ST|US||#####|##########|USER at ANOTHERADDRESS.COM

The key field being:
|### OBFUSCATE PLACE |

If I run "cat -vt" on the file to show special characters and tabs I can see that field actually has extra hidden characters in it:
|### OBFUSCATE PLACEM-BM- |

If I do vim of the file the field appears as it did in cat without the "-vt" flags.

If I do ":set list" it shows me other characters (e.g. $ for each end of line) but does NOT show the extra characters seen for the above field that I see with "cat -vt").

How do I get vim to show the same  characters in the field that I see with "cat -vt"?

When I ran "file" on this file it says it is "UTF-8 Unicode text" whereas usually files of this type (without the special characters) simply show they are "ASCII text".   Presumably it is the special characters in this one that make it appear as UTF-8.   Doing :set options to change encoding to utf8 does NOT show the characters either.



CONFIDENTIALITY NOTICE: This e-mail may contain privileged or confidential information and is for the sole use of the intended recipient(s). If you are not the intended recipient, any disclosure, copying, distribution, or use of the contents of this information is prohibited and may be unlawful. If you have received this electronic transmission in error, please reply immediately to the sender that you have received the message in error, and delete it. Thank you


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ale.org/pipermail/ale/attachments/20170602/1fc52caf/attachment.html>


More information about the Ale mailing list