首页 > 解决方案 > 导入文件中的法语字符在 IE 中未正确显示

问题描述

我正在通过网页的输入文件元素导入包含法语字符的 csv 文件:

<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" >

<input type='file' id='selectedFile' name='selectedFile'  accept='text/csv'/>

该文件以 UTF-8 CSV 格式从 excel 中导出。

内容被发送到服务器并由 java 方法解析。法语字符在 IE 中显示不正确。字符在任何其他浏览器中正确显示。

示例:Aéroport CDG 显示为 Aéroport CDG

标签: htmlcsvinternet-explorerinput

解决方案


推荐阅读