.load() kills character encoding

后端 未结 3 454
自闭症患者
自闭症患者 2020-12-19 10:49

I\'m using the following code to load in content:



        
3条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-19 11:39

    Thanks for the help everyone, however I found what was the problem. The problem was that adding headers to a basic text file didn't change its actual encoding. I wrote that file in notepad and had no way of checking if the encoding was correct. I then opened it in Notepad++ and set the encoding from that application. Hope that helps to others struggling with this problem :)

提交回复
热议问题