问题描述
If it doesn't actually say UTF-8-BOM in the status bar then Notepad++ is only guessing the encoding. Try selecting Encoding > Encode in UTF-8-BOM,save the file,then close and reopen it to confirm the change. After saving it with a BOM (Byte Order Mark) try importing it via SSIS again using code page 65001 (UTF-8) setting and see if it works
。
@AlwaysLearning
我按照上述用户的建议转换了文件,现在它在角落显示了 UTF8 BOM。我保存了。
- 这就是恶性循环:
a) 在预览中选择 SSIS 中的 CSV 作为 UTF-8 时,我可以正确地看到我的波兰语字母。直到我点击运行。然后我收到这个错误:
Error at Data Flow Task [sql Server Destination [9]]: The column "ColumnName" cannot be processed because more than one code page (65001 and 1252) are specified for it.
我得到了每一列。
b) 当我将连接管理器中的文件类型更改为 1252 时,我可以立即在预览中看到我的波兰语字母丢失了。但现在运行它就像一个魅力,我没有错误。
这是我尝试过的:
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)