JS 使用 FileReader 获取文件内容乱码问题

使用 gb2312 编号格式可以解决
reader.readAsText(file, "gb2312");

猜你喜欢

转载自www.cnblogs.com/bruce-gou/p/11309989.html