How to remove this symbol "^@" with vim?
Problem
I have some files that are corrupted with this symbol: ^@ It's not part of the string; it's not searchable. How do I substitute this symbol with nothing, or how do I delete this symbol? Here is an example line from one file:
Error Output
^@F^@i^@l^@e^@n^@a^@m^@e^@ ^@ ^@ ^@ ^@ ^@ ^@ ^@ ^@ ^@ ^@:^@ ^@^M^@
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Fix for: How to remove this symbol "^@" with vim?
You could try: (on regular PCs) (on Mac PCs) where means first press down the CTRL on regular PCs, keeping it as pressed down, hit 2, release CTRL. and means first press down the control on Mac PCs, keeping it as pressed down, press down shift on Mac PCs, keeping it as pressed down, hit 2, release control and shift. Finally, both of the two commands should result in on screen. means a single character (a NULL byte, which otherwise couldn’t be displayed), not followed by , so you can't just type…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix