ExifTool Forum

ExifTool => Bug Reports / Feature Requests => Topic started by: Anonan on June 15, 2021, 06:30:36 AM

Title: Show non-ACSII filenames in torrent file without -b
Post by: Anonan on June 15, 2021, 06:30:36 AM
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)".
Title: Re: Show non-ACSII filenames in torrent file without -b
Post by: Phil Harvey on June 15, 2021, 08:51:01 AM
Can you post or email me a sample file?  My email is philharvey66 at gmail.com

- Phil
Title: Re: Show non-ACSII filenames in torrent file without -b
Post by: Anonan on June 15, 2021, 09:08:41 AM
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.
Title: Re: Show non-ACSII filenames in torrent file without -b
Post by: Phil Harvey on June 15, 2021, 11:02:04 AM
Great, thanks.  ExifTool 12.28 will extract this properly.

- Phil