Macro Parameter Value German Umlaute Problem

Hi!

Confluence 7.13.0

I am writing a Confluence plugin which incorporates a Macro.

I am running into problems with german umlauts in macro string parameters.

Using param.replaceAll(“Ä”, “&Auml ;”) doesnt work, the “Ä” doesnt get recognized.

The Encoding is set to “UTF-8” in den Confluence settings.

Any hint on why this happens and how to fix it would be greatly appreciated!

Thanx in advance,
Hans