The HTML is generated in the proper format, When trying to convert the HTML file to PDF using One Drive action the file is getting corrupted because of arabic text

The HTML is generated in the proper format, When trying to convert the HTML file to PDF using One Drive action the file is getting corrupted because of arabic text