I have javascript files that I need them to be saved in UTF-8 (without BOM), every time I convert them to the correct format in Notepad++, they are reverted...
  • June 2, 2022
  • 0 Comments
I’m really confused with the codecs.open function. When I do: file = codecs.open("temp", "w", "utf-8") file.write(codecs.BOM_UTF8) file.close() It gives me the error UnicodeDecodeError: ‘ascii’ codec can’t decode byte 0xef...
  • May 25, 2022
  • 0 Comments