Non-ASCII characters in filename after rename

Post any Bulk Rename Utility support requirements here. Open to all registered users.

Non-ASCII characters in filename after rename

Postby ruralcricket » Fri Dec 31, 2021 1:30 am

I'm trying to rename some image files using the Add(7) function. In the add box: "<(Dimensions)> ~" which I believe should add the image dimensions (e.g. 680 x 1024). The resulting filename has characters that don't show up in Explorer, but do show up on the command line.

e.g. the file "03.jpg" gets renamed thus Image instead of "680 x 1025 ~ 03.jpg. (see this image:https://imgur.com/pWI9ji7)

Note: This does NOT occur with other properties such as Date modified, Content type. But does happen for Dimensions, Horizontal resolution, and Vertical resolution.

Using Windows 10, BRU version 3.4.3.0 x64bit.

Using the tool exiftoolexehttps://exiftool.org/) does not have this issue. This is the command to rename a file by appending the image size to the original filename.

exiftool.exe "-filename<${imagesize}-%f.%e" 05.jpg
ruralcricket
 
Posts: 3
Joined: Fri Dec 31, 2021 1:01 am

Re: Non-ASCII characters in filename after rename

Postby therube » Fri Dec 31, 2021 5:05 pm

Your imgur link does look to point to an image?

How about you post, link to, the particular .jpg in question.
therube
 
Posts: 1314
Joined: Mon Jan 18, 2016 6:23 pm

Re: Non-ASCII characters in filename after rename

Postby ruralcricket » Fri Dec 31, 2021 9:01 pm

This URL -https://imgur.com/pWI9ji7 does show the image of the file after being renamed. I tried copy/paste the filename and the unprintables do not show up.

It looks something like unprintable680 x 1025unprintable ~ 03.jpg

https://imgur.com/pWI9ji7

Image
ruralcricket
 
Posts: 3
Joined: Fri Dec 31, 2021 1:01 am

Re: Non-ASCII characters in filename after rename

Postby ruralcricket » Tue Jan 04, 2022 4:22 am

Request for example jpg.

See https://drive.google.com/drive/folders/1ueHrUjgIb1cJtaV8NPkdf4Teks5Ft8K_?usp=sharing
There are two versions of the file before and after renaming. If you download the file with the dimension prefix, google drive with replace the unprintable with an underscore.

I used the Add operations with a prefix of [<(Dimensions)>]
ruralcricket
 
Posts: 3
Joined: Fri Dec 31, 2021 1:01 am


Return to BRU Support


cron