denisenkom / go-mssqldb

Microsoft SQL server driver written in go language
BSD 3-Clause "New" or "Revised" License
1.81k stars 493 forks source link

BulkCopy can't support chinese/japanese characters #758

Open zhanghaiyang9999 opened 2 years ago

zhanghaiyang9999 commented 2 years ago

If the record content contains chinese/japanese characters, can't use the bulkcopy feature, it will return the error Received an invalid column length from the bcp client for colid 3 the 3 means the field number is 3,the record content is chinese or japanese characters.

zhanghaiyang9999 commented 2 years ago

even if can insert successfully, the record content will be ????

SmyxBug commented 1 month ago

even if can insert successfully, the record content will be ????

Hello, have you solved this issue? Or do you have any other solutions?