Rename unicode character problem

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

Rename unicode character problem

Postby tamle » Tue Oct 23, 2018 3:21 am

I have this code but for the letter "?" and "?", BRC wouldn't work. Replacing " " with "_" is working fine. Doing the same (replacing unicode character) in BRU works fine. Is there anything that I do wrong?

Code: Select all
pause
chcp 1250
set path="C:\BRC_Unicode_64\";%path%
BRC64.exe /RECURSIVE /STRIPACCENTS /REPLACECI:" ":"_" /EXECUTE
BRC64.exe /RECURSIVE /STRIPACCENTS /REPLACECI:"?":"d" /EXECUTE
BRC64.exe /RECURSIVE /STRIPACCENTS /REPLACECI:"?":"D" /EXECUTE

pause
tamle
 
Posts: 3
Joined: Tue Oct 23, 2018 3:18 am

Re: Rename unicode character problem

Postby therube » Tue Oct 23, 2018 4:26 pm

therube
 
Posts: 437
Joined: Mon Jan 18, 2016 6:23 pm

Re: Rename unicode character problem

Postby tamle » Tue Oct 23, 2018 6:11 pm

Doing the same (replacing unicode character) in BRU works fine

I think the problem is batch scripting handling the character, not BRU itself. I can't try anything in the post you suggested.
tamle
 
Posts: 3
Joined: Tue Oct 23, 2018 3:18 am

Re: Rename unicode character problem

Postby tamle » Wed Oct 24, 2018 4:03 am

Code: Select all
chcp 65001

set path="C:\BRC_Unicode_64\";%path%
BRC64.exe /RECURSIVE /STRIPACCENTS /REPLACECI:" ":"_" /EXECUTE
BRC64.exe /RECURSIVE /REPLACECI:"?":"d" /EXECUTE
BRC64.exe /RECURSIVE /REPLACECI:"?":"D" /EXECUTE


This will work. You have to identify what BRC doesn't do manually and add it to a batch file.
tamle
 
Posts: 3
Joined: Tue Oct 23, 2018 3:18 am


Return to BRC Support