I don't use notepad, I use VS code. I just checked, and it's using the UTF-8 encoding which is what I always use, anyway, I did what you say and the same thing happens.
Also, I am not using spaces in my filename, which is why I added the dash ($main-chara.png) in the name of the file.
It is...