Read in images with umlauts in path

Hello,
I have images with different bit depths and different number of channels.
When I read an image with “imread” and there are umlauts in the path, it does not work.
I have already been made aware of “imdecode” but I don’t really understand it, I can’t find any example code either.
Can someone help me there ?
cv::Mat imageCV = cv::imread(name, cv::IMREAD_ANYDEPTH | cv::IMREAD_COLOR);

it’s all not so easy

seriously, do anyone a favour, and avoid funny characters in filenames

also see here and here or even here, please

all modern operating systems can handle unicode file names.

if you expect help, you must post your complete code. keep nothing secret.