Show non-ACSII filenames in torrent file without -b

Started by Anonan, June 15, 2021, 06:30:36 AM

Previous topic - Next topic

Anonan

Currently (11.53) the program shows instead real filename something like "SCALAR(0x4748ef4)" if a filename in a torrent contains non-ASCII characters.
Using it with -b helps. But it also adds "pieces" torrent's field.

I think that it should shows the real filename without -b flag.

"pieces" is the real binary information so it should be output with -b. But filenames... it's just a text. It should not require -b.


UPD. In the last version (12.27) it just shows "(Binary data 26 bytes, use -b option to extract)" instead of "SCALAR(0x4748ef4)".

Phil Harvey

Can you post or email me a sample file?  My email is philharvey66 at gmail.com

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

Anonan

#2
Here is it.

---

With -b:
"length": 21,
"path": ["folder","新しいファイル.txt"]

Without:
"length": 21,
"path": ["folder","(Binary data 25 bytes, use -b option to extract)"]

PH Edit: Removed zip attachment which I couldn't open anyway.

Phil Harvey

Great, thanks.  ExifTool 12.28 will extract this properly.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).