Problem with encode

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

  1. Read text file and store the data in a string variable
  2. Then use assign activity to convert the standard characters to utf-8
  3. Then write it back to the text file and check if it is written as expected

The assign command is



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 :smiley:

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.