How to remove polish characters?

Advanced Renamer forum
#1 : 11/03-14 01:07
peter
peter
Posts: 3
Hi,

Is there a way to remove a polish characters from the string? There are javascripts that do that or even php but maybe regex?
Any ideas?


11/03-14 01:07
#2 : 11/03-14 13:16
Stefan
Stefan
Posts: 274
Reply to #1:

Hi,

what are polish characters ? ;-)


To remove for example german umlauts ä+ü+ö,

you can utilize the Replace Method ( http://www.advancedrenamer.com/user_guide/metho d_replace )

Find: ä\ü\ö
Replace: ae\ue\oe


- - -

Or to try your JavaScript, take a look at
http://www.advancedrenamer.com/user_guide/metho d_script


.


11/03-14 13:16
#3 : 21/04-14 06:16
Mike Lee
Mike Lee
Posts: 2
Reply to #2:
Stefan -

I am not having any luck following your example when using a backslash between letters.
This for example works fine:

Find: ä
Replace: a

But adding a backslash and another character doesn't:

Find: ä\ü
Replace: a\u

This fails 100%. What am I doing wrong? This seems like a simple task, but its got me stumped. Thank you.

Mike



21/04-14 06:16 - edited 21/04-14 06:35
#4 : 25/06-14 01:59
arwul
arwul
Posts: 94
Reply to #3:

Alternatively, it would be nice if Advanced Renamer would detect filenames containing non-STD-ascii characters (notepad characters), like:

винс 1.png
винс 3.png
人物计完成.jpg
æ ‘xx.jpg
file 法森林.jpg
bla bla 潜.jpg
灏.jpg
鹊修改.jpg
whatever物设计完成.jpg
大树.jpg
法贡林.jpg

then autorename them after parent folder, plus seq#

e.g. above files are located in a folder \My Photos\
then the filenames would read
My Photos-0001.png
My Photos-0002.png
etc.
or
My Photos-***-0001.png
My Photos-***-0002.png

the '***' is meant to indicate that the original name was non-std-ascii.

=



25/06-14 01:59