Special Characters
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
25-06-18 10:09 PM
Hi,
We find ourselves trying to solve the following issue. We have a collection with words containing special characters such as á or ñ. We get the data from a txt file using a Schema.ini and we have no problem to get the data right there.
When we execute our process and we want to create a final txt. or an Excel file with the collection data, the special characters are changed to other characters. For exameple "MarÃa and Pequeño" is changed to "MarÃa and Pequeño". How can we solve this?
And , Is there any way to obtain a CSV file from a collection separated for example with pipes or other characters like ~?
Thanks,
Maria Serrano
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
26-06-18 04:01 AM
Are the characters showing up correctly within Blue Prism - are they only changing after writing the text to a file? If so, it is probably the encoding of the file causing the issue. You may need a code stage to output the string with encoding. Check out the WriteAllText method on MSDN, specifically the Encoding parameter.
Hope that helps with the text file.
