문제

I'm using a Flat File Connection to read a file. This file contains UTF-8 data, but the file does not have a Byte Order Mark. (I checked this with notepad++)

The CodePage from the flat file connection is set to '65001' and UniCode is set to 'False'.

While processing this file and copying the data to the database, some characters are wrong.

What is the best/easiest solution ?

  1. Change some settings on the flat file connection ? (This will probably also mean that I need to change the codepage from the columns.)
  2. Manually add the Byte Order Mark to the file before processing?
  3. Something else ?
도움이 되었습니까?

해결책

The database table was defined as varchar instead of nvarchar, this solved my problem.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top