wanting to read a csv file encoded utf-8 what is the syntax in the field “encoding”
I read in topics about creating variables and new encoding properties, but I can’t imagine it having to be that elaborate. I only want to specify the file should be read in utf8 format
tried that, but using that syntax gives me an error “utf-8” is not a supported encoding name.
hence my question. is the syntax different?
Hi @Luke69,
Can you try “UTF-8”
However, I’m able to read the file with both options. It’s possible that your file uses a different encoding. You can open the CSV in Notepad and check the encoding type in the bottom-right corner.
Thanks
Hello @Luke69
"utf-8" is not supported, it is often due to the specific UiPath version or project compatibility mode (e.g., .NET Core vs. .NET Framework)
As suggest by @iampnkz, you cab try the exact .NET name “UTF-8” or “us-ascii”
- Read Text File Workaround: If the Read CSV activity continues to fail, use the Read Text File activity (which often has better encoding support) to read the CSV into a string, then use the Generate Data Table activity to convert.