In my program I use QDialog class and QtScript inside it for business logic layer (validation etc.)
Usually a message from JS script passes to C++ program and displays with QMessageBox. Message text in Russian and what I see is abracadabra.
Qt internally uses UTF-8 as I understand. All JS scripts written in UTF-8.
I did'nt found in documentation how to set encoding for scripts.
So what I do wrong?