可以依賴於現代瀏覽器的使用,因此我為此使用FileReader (它像一種魅力)。 reader.readAsText(myfile, encoding); 我知道 encoding 預設為UTF-8。
確定! 回上一頁