Polish characters missing in popup window

Hey,

I installed localization example and saw, that when I switch to Polish, language specific characters are missing.
Interestingly if I send something through dashboard server, it works fine. If I try to generateScript in URCap, the script itself looks fine (in Leafpad, for example), but popup message is missing characters or shows wrong ones.

What am I doing wrong here?