WRONG Persian Character in FAST REPORT
I have problem using FastReport in .net core web api. When export to pdf from this code:
PERSIAN CHARACTER is not show normally!
Normal Report from designer preview:
Report fastReport = new Report();
fastReport.Report.Load($"Report/{installmentReports.ReportName}.frx");
fastReport.Prepare();
PDFExport export = new PDFExport();
using (MemoryStream ms = new MemoryStream())
{
export.Export(fastReport, ms);
ms.Flush();
return File(ms.ToArray(), "application/pdf", Path.GetFileNameWithoutExtension("test") + ".pdf");
}
PERSIAN CHARACTER is not show normally!
Normal Report from designer preview:
Comments
from webapi core:
Thanks, but i used this solution before, you said RIGHT! so do you have any other idea?