I’m trying to write a csv file with WriteCsvFile Activity using encoding “iso-8859-15”.
But I’ve an error on execution.
“Ecrire fichier CSV: ‘iso-8859-15’ is not a supported encoding name. For information on defining a custom encoding, see the documentation for the Encoding.RegisterProvider method. (Parameter ‘name’)”
I’ve tried “iso-8859-1”, “ASCII-us” but I have the same error.
I’m using Studio 2023.4.2
The error message indicates that “iso-8859-15” is not a supported encoding name. This is because the .NET Framework used by UiPath may not include this specific encoding by default.
you can try the following steps… Hope may help
1.Use a Supported Encoding: Instead of “iso-8859-15,” try using a supported encoding like “ISO-8859-1” (also known as Latin-1) which is more commonly available
2.Use “Windows-1252” Encoding: If ISO-8859-1 doesn’t work, you can try using “Windows-1252” encoding, which is similar to ISO-8859-1.
3.Custom Encoding: If you absolutely need to use “iso-8859-15” and it’s not available by default, you may need to create a custom encoding provider using Encoding.RegisterProvider as suggested in the error message. However, this is a more advanced step and may require coding expertise.
Here’s an example of how you might use “ISO-8859-1” encoding in UiPath: