How to deal with non ascii domain names?

Hi everybody,

How can I deal with non ascii domain names?

My addon uses pagemods to load css files, ie, on domain domain.com it will load css/domain.com.css file. Loading files fails for cyrillic domains.

This doesn’t work (p and d vars are set correctly):
p.PageMod({include:"*.раскраскараскраски.com",contentStyleFile:d.url(“css/раскраскараскраски.com.css”)});

This works:
p.PageMod({include:"*.раскраскараскраски.com",contentStyle:’#CN {display:none !important}’});

Can i do something to make it work?

Have you tried changing the local URL of the content style file, to discard that the bug has to do with the characters in the local path? If so, then I think this is a bug that will need to be reported.