File was loaded in the wrong encoding: ‘UTF-8’

File was loaded in the wrong encoding: 'UTF-8'

错误分析:当我们打开一个文件,可是中文出现乱码,这是可能因为我们文件使用UTF-8进行编辑,而Windows默认使用GBK编码格式,所以导致打开文件时出现乱码

解决方法一:在打开的文本中解决(治标不治本)。点击图中右下角的UTF-8,选择GBK,在弹出的窗口中选择Reload(重载)

File was loaded in the wrong encoding: 'UTF-8'

File was loaded in the wrong encoding: 'UTF-8'

File was loaded in the wrong encoding: 'UTF-8'

解决方法二:在编辑文本时,设置指定的编码格式。
File was loaded in the wrong encoding: 'UTF-8'

相关文章:

  • 2021-10-24
  • 2022-12-23
  • 2022-12-23
  • 2021-09-24
  • 2021-08-08
  • 2021-06-12
猜你喜欢
  • 2021-04-26
  • 2021-10-15
  • 2021-12-12
  • 2021-10-08
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案