10-08-23 06:57 PM
I am reading a CSV as CSV text as collection action. i am getting special chacacter in first rows.
on checking found, encoding of CSV is UTF-8 BOM . how to fix this in blue prism so that it do not give special character.
11-08-23 04:25 AM
Hi Neeraj,
I'd like to provide you with some suggestions on how to handle a UTF-8 BOM encoded CSV file:
Between these alternatives, opting for the MS EXCEL - VBO approach appears to be the more straightforward solution.
11-08-23 07:03 AM
Hi Neeraj,
If you can attach a sample csv file, then I can help you with custom codes for the same.
Also Neeraj in the meanwhile try to use the Import CSV function present in BP Default. You may have to change the code a bit according to your requirement then it will work. Just record a macro while importing the csv into Excel. You will get the below-attached code copy the same here. It should work. The highlighted one is the code for UTF -8 that you have to change in the existing code.
To get this option in Excel 365 you have to do few changes to get the above code by recording macro. Please see attached image for this,
------------------------------
Amlan Sahoo
Senior RPA Consultant
WonderBotz
------------------------------
11-08-23 07:35 AM
hello Amlan Sahoo & Athiban Mahamathi Mathialagan
actually want to avoid using EXCEL VBO route and macro. but that is good suggestion -will try out this option.
i found one utility on digital exchange. that one is working fine.
11-08-23 05:12 PM
If you are getting the same special character consistently, then I would suggest the following:
I know that I have also seen some of the actions have an input field for the formatting (UTF-8, UTF-8 BOM, etc), so it might be worth asking to have this added to the Strings object.
Good luck,
Red