I'm trying to translate text in a javascript file which has been created using English into Japanese. When I just change the string to Japanese characters using copy & paste, the text in Pavlovia is displayed as '?????'. From what I could gather from other posts this has something to do with the fact that Japanese characters are encoded in UTF-8, which is not the standard encoding used in my JavaScript file. I have tried saving the whole file with encoding UTF-8, but this seemingly cannot be read Pavlovia. So I assume I need some local UTF-8 encoding of the individual Japanese text bits.
Unfortunately I have zero JavaScript experience, so any help with this would be greatly appreciated.