dhtmlxWindow titles translate

I would like to translate buttons titles in dhtmlxWindow.js to polish language,

but I don’t know to which encoding should I save the JS file.

The javascript file will be loaded in the same encoding as page on which they are placed. ( most probably utf-8 , but may differ based on your setup )