Skip to main content
Question

During LogToFile incorrect error text is written

  • April 25, 2023
  • 2 replies
  • 44 views

Forum|alt.badge.img+4

I’m attempting to write either a data table or a logged file, which is then attached to an email. The data is being incorrectly overwritten with this strange text. 

Code: 

Both result in this: 

 

Can anyone provide some guidance on the issue or resolution here? 

2 replies

Zaid Chougle
Navigator | Tier 3
Forum|alt.badge.img+17
  • Navigator | Tier 3
  • April 26, 2023

Hi @p1094 ,

Have you checked with changing the encoding?

 


Tamil Arasu10
Most Valuable Pathfinder
Forum|alt.badge.img+18
  • Most Valuable Pathfinder
  • April 26, 2023

Hi @p1094 ,

Can you please try with changing the encoding type and log the file format txt as well.