0

I used the open function to print out the file handle of a notepad file. The problem is the encoding of the notepad file is 'UTF-8'. But the file handle shows 'cp1252'. Why is there a difference?

notepad

after executing

code

ZF007
  • 3,708
  • 8
  • 29
  • 48

0 Answers0