Problems with german characters like öäüß

A swapping-ground for Regular Expression syntax

Problems with german characters like öäüß

Postby Bedra » Mon Jan 28, 2013 12:16 am

Hi,

could it be that the PRCE library which BRU uses do not support german characters like 'ä', 'ö' and 'ü'? I found a post which could explain why BRU does not support these characters:
http://www.bulkrenameutility.co.uk/forum/viewtopic.php?f=3&t=1680&p=4505#p4505

With the RegEx
Code: Select all
(Let's Play Minecraft) #([0-9]{2,4}) \[Deutsch] \[HD] (.*)

And the Replacement
Code: Select all
\1 \2 \2

the filename
Code: Select all
Let's Play Minecraft #477 [Deutsch] [HD] - Höhle der spawnenden Spawner.mp4

should look like this in the end
Code: Select all
Let's Play Minecraft 477 - Höhle der spawnenden Spawner.mp4

But BRU refuse do rename this file. With all other files which do not contain german characters it works.

Best Regards
Bedra
Bedra
 
Posts: 1
Joined: Sun Jan 27, 2013 11:18 pm

Re: Problems with german characters like öäüß

Postby Stefan » Fri Mar 01, 2013 7:52 pm

Generally a regex engine is build to work with plain ANSI files. Enough for english words.
To support extended ASCII signs like german umlauts or even unicode the engine has to be build to support that.
As far as i know the library used by BRU works for plain ansi only.
Stefan
 
Posts: 736
Joined: Fri Mar 11, 2005 7:46 pm
Location: Germany, EU


Return to Regular Expressions