Upload component Filename encoding

Hello,

I have trouble with uploaded files where the filename contains special characters.
In the Browser window the filename is displayed correctly. However, when I access the filename in the succeededListener of my upload component, the encoding is messed up.
I was wondering what encoding is used for the component by default and also where I could start tackling this issue since I just use the getFileName method right after the upload is done.

Example names:
אָלֶף־בֵּית עִבְרִי.pdf
لأبجدية العربية.pdf
ÖÄäa.pdf