看板 EzHotKey 關於我們 聯絡資訊
How to create a new UTF8 file without BOM, and write to it - AutoIt General Help and Support - AutoIt Forums https://www.autoitscript.com/forum/topic/176882-how-to-create-a-new-utf8-file-without-bom-and-write-to-it/ 參考官方論壇文章 FileOpen($sPath&"Test.csv", 128+2) 除指定編碼外,還再加入+2強制寫入,檔案才會正常 否則會出現FileOpen產生的csv檔,以Notepad開啟中文正常, 而使用Excel開啟中文是亂碼的情形。 Excel 打开 csv 文件出现中文乱码的解决方法(Notepad 打开正常)_NLP_victor 的博 客 - CSDN 博客_excel 用 notepad 打开是乱码 https://blog.csdn.net/IOT_victor/article/details/114138938 -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 220.132.89.223 (臺灣) ※ 文章網址: https://www.ptt.cc/bbs/EzHotKey/M.1648996277.A.65D.html ※ 編輯: GodIsland (220.132.89.223 臺灣), 04/03/2022 23:01:51