Dealing with Ghost - Unknown - Invalid Chars

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
SkyFrontier
Posts: 2341
Joined: 04 Jan 2010 14:27
Location: Pasárgada (eu vou!)

Dealing with Ghost - Unknown - Invalid Chars

Post by SkyFrontier »

Often I am stumbling upon some unknown/invalid/ghost characters and this is getting me nervous as I simply can't deal with them, being it search and replacing on text or using sections containing them as base for new file names.

Writing it as inline message makes it unusable - I asked a friend for help and took a time to realize he wasn't seeing anything, so I attached a .txt containing more info plus a string containing the char itself plus some code I used to diagnose the problem.

Test: "
" > the mere posting of it on forum turned it into a <crlf>'ed square.

Thanks in advance!
To see the attached files, you need to log into the forum.
New User's Ref. Guide and Quick Setup Guide can help a bit! Check XYplorer Resources Index for many useful links!
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...

Twisten
Posts: 204
Joined: 27 Apr 2008 10:30

Re: Dealing with Ghost - Unknown - Invalid Chars

Post by Twisten »

I ran into such a file once, in the end I used the command prompt and renamed it by referring to it by its DOS (8.3) name.

selukwe
Posts: 168
Joined: 02 Apr 2012 14:10
Location: Windows 11 Pro 25H2, Screen scaling: 100%, latest XYplorer version (x64), updated daily.

Re: Dealing with Ghost - Unknown - Invalid Chars

Post by selukwe »

A good program for this is freeware Unlocker - http://www.emptyloop.com/unlocker/. It loads as context-sensitive right-click menu and will force-delete locked files as well as force-rename files containing unsupported characters or just "rubbish"/invalid chars... Small yet very powerful tool.

Post Reply