o4-mini-high inexplicably inserted Russian into my code

I'm working on a project and I wanted to make a minor edit but didn't want to hunt for the one line to change, so I put my script.js file into ChatGPT and asked it to make the change using the o4-mini-high model and Canvas. It made the change correctly in the Canvas, but it also did one more thing: it replaced the variable document , in all but two places, with the Russian word for document…