开发者

UTF8 Text file reading problem .net

开发者 https://www.devze.com 2023-02-18 12:25 出处:网络
I have a CSV file that is UTF8开发者_StackOverflow社区 encoded.I would like to read it in using ODBC or OLE and the MS Jet Engine, but I cant find a connection string that supports UTF8.I have seen Ch

I have a CSV file that is UTF8开发者_StackOverflow社区 encoded. I would like to read it in using ODBC or OLE and the MS Jet Engine, but I cant find a connection string that supports UTF8. I have seen CharacterSet=ANSI AND CharacterSet=Unicode but not CharacterSet=UTF8.

Can anyone help?

Thanks

Will


I had the same issue, and I discovered you can specify a numeric code page value for the CharacterSet property, e.g. CharacterSet=65001 for UTF8.

0

精彩评论

暂无评论...
验证码 换一张
取 消