Python 3.10の新機能:with文の強化/エラーメッセージの改善/EncodingWarningクラス

macOSとWindowsでデフォルトのエンコーディングが異なるので文字が読めない