UnicodeDecodeError

Hi!
I made a page in English, but I want to make it in Ukrainian, when I change or add text to html, it gives an error (English works)

изображение_2023-05-23_232142469
изображение_2023-05-23_232205423



I’m going to guess that whatever you used to create that text was not set up to create it as utf-8.

I used translate.google.text to convert the text “test” to Ukranian, and it generated тест, but as the 8 bytes d1 82 d0 b5 d1 81 d1 82, and not the “Windows-1251” encoding of f2 e5 f1 f2 (?).

You want to ensure that whatever you’re using to create the translated text that it’s translating as utf-8.

Yes, you are right, the code editor misled me, I changed it through a regular text document, everything works, thanks.