problem with csv

amaradiswamy
Kilo Sage

Hi All,

I am struggling with importing CSV file to import set. In import set table some junk columns are getting created and when i clicked on "Loaded data" it is showing the error "An invalid XML character (Unicode: 0x0) was found in the element content of the document."

find_real_file.png

What can be the possible issue for this?

Thanks and regards,

Swamy

1 ACCEPTED SOLUTION

Hi Tomasi,



Sorry, i forgot clear the junk columns which were already created. i have used utf-16 in properties, now it is working fine but to check once, will it cause any problem to the instance?



Thanks and regards,


Swamy


View solution in original post

19 REPLIES 19

Chuck Tomasi
Tera Patron

You may be encountering utf-8 encoding. I had this happen once as well. Check the properties field on the data source and add charset=utf-8



See section 2.3.1 here


Data Sources - ServiceNow Wiki


Hi Tomasi,



Thanks for your reply.



i have added that property but still i am getting the same error.



i will be really greatful if you can help me to solve this issue.



Thanks and regards,


Swamy


Would you be willing to attach the CSV here so I can take a look and verify the format is good?


How can i attach files?   can see only image type attachments.