ReportPortal
ReportPortal
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 ReportPortal General Forum
 Report Portal General Issues
 PDF Export not support UTF-8 and Arabic

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Message:

* HTML is ON
* Forum Code is OFF
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
Abbas.layeghie@gmail.com Posted - 04/28/2018 : 11:33:48
Hi
Export to PDF is not supporting UTF-8 and Arabic .
characters are not connected together.


HTML is ON
6   L A T E S T    R E P L I E S    (Newest First)
Abbas.layeghie@gmail.com Posted - 05/01/2018 : 04:51:27
quote:
[i]Originally posted by admin[/i]
[br]Go to Admin > Settings > Font Folder Path and set it to your server’s font folder (usually C:\Windows\Fonts).

When Admin > Settings > Language is set to Arabic ReportPortal will use C:\Windows\Fonts\trado.ttf for PDF generation.





I did it. this worked just for report header ,but not for column header and records.

please check my sample report in before replies and test it yourself. it has problem

HTML is ON
admin Posted - 04/29/2018 : 12:23:48
Go to Admin > Settings > Font Folder Path and set it to your server’s font folder (usually C:\Windows\Fonts).

When Admin > Settings > Language is set to Arabic ReportPortal will use C:\Windows\Fonts\trado.ttf for PDF generation.
Abbas.layeghie@gmail.com Posted - 04/29/2018 : 07:26:10
quote:
[i]Originally posted by Abbas.layeghie@gmail.com[/i]
[br]This solution is correct and worked for showing data in Unicode format, but didn't work on PDF export.
I sent a sample in BUG_2018 Folder in demo site and you can test it.
or test this Query in a sql report :

SELECT top 10
N'#1578;#1587;#1578; #1593;#1585;#1576;#1740;' as UTF_Contnet
,*
FROM QueryFolder

-----------------------------------
Test PDF Export.

Thank you



sample :
http://reportportal.us/reportportal/Proxy.aspx?reportId=2082


HTML is ON



HTML is ON
Abbas.layeghie@gmail.com Posted - 04/29/2018 : 07:24:31
This solution is correct and worked for showing data in Unicode format, but didn't work on PDF export.
I sent a sample in BUG_2018 Folder in demo site and you can test it.
or test this Query in a sql report :

SELECT top 10
N'#1578;#1587;#1578; #1593;#1585;#1576;#1740;' as UTF_Contnet
,*
FROM QueryFolder

-----------------------------------
Test PDF Export.

Thank you



HTML is ON
admin Posted - 04/28/2018 : 13:04:41
It is required to add N before string literal This is needed to correctly interpret contained Unicode characters.

https://stackoverflow.com/questions/30859697/right-to-left-string-in-sql-server
Abbas.layeghie@gmail.com Posted - 04/28/2018 : 12:02:15
UTF8 and Arabic is not supporting in PDF export and all of the site

sample :
http://reportportal.us/reportportal/Proxy.aspx?reportId=2082


HTML is ON

ReportPortal © 2000-2002 Snitz Communications Go To Top Of Page