Hi. I need help. I am from Argentina and I have problems with a .txt file that has characters like Ñ. Uipath does not recognize me this character. What configuration do you recommend to apply to the string?
I’m not sure this will solve your issue, but give a try
- Read text file and store the data in a string variable
- Then use assign activity to convert the standard characters to utf-8
- Then write it back to the text file and check if it is written as expected
The assign command is
system.Text.Encoding.ASCII.GetString(system.Text.Encoding.UTF8.GetBytes(str))
3 Likes
It worked. The only problem is that I now see it as “???”, but I solved it with another assign using Replace (“???”, “ñ”). Thanks for your help
1 Like
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.