I used Photorec to recover files from an internal hard drive which I connected externally to another PC. With PhotoRec all the file names are wrong .
What the solution?
Photorec doesn't read the original filesystem, so it doesn't see what the original filename was.
It just reads all the data on the drive, copying out files "magically" when it sees one (you'd have to delve into it's website &/or source code to see exactly how it works, it's close enough to "magic" for me ;-)
The only solutions are to: