Arabic not shown correct after deploy project to server online ?
Posted: Sun Sep 02, 2018 10:40 pm
Hi
Please i have an asp core project that hosted in Centos v7 - now in my develop laptop (windows 10) Arabic is fine and shown as it should be - i use your tools to export pdf and show it to the user in browser using this code:
Code:
the problem is Arabic not shown correct format (please see image) - so please how can i make it correct as second image (from my develop laptop)
Please i have an asp core project that hosted in Centos v7 - now in my develop laptop (windows 10) Arabic is fine and shown as it should be - i use your tools to export pdf and show it to the user in browser using this code:
Code:
Code: Select all
var report = new StiReport();
report.Load(StiNetCoreHelper.MapPath(this, "Reports/MyLifePurposeMessage.mrt"));
var purposeMessage = _purposeMessageService.GetPurposeMessageById(id);
report.RegBusinessObject("LifeMessage", purposeMessage);
return report;
Code: Select all
var report = GetReport(reportType, id);
Stream stream = new MemoryStream(StiNetCoreReportResponse.ResponseAsPdf(report).Data);
return new FileStreamResult(stream, "application/pdf");