I have a file with .dir
extension. I tried opening it but getting unknown/unreadable characters. I also tried opening it using python and java but not able to get the correct encoding/decoding for the characters in file. Can someone help me in this or provide some other application in which I can open this file?
I have tried the below code in python but getting unreadable characters:
with open(file_name, "rb") as binary_file:
data = binary_file.read()
dec_str = data.decode('utf-8', errors='ignore')
print(dec_str)