Diese Seite mit anderen teilen ...

Informationen zum Thema:
Forum:
WinDev Forum
Beiträge im Thema:
9
Erster Beitrag:
vor 3 Jahren, 1 Monat
Letzter Beitrag:
vor 3 Jahren, 1 Monat
Beteiligte Autoren:
Vijay Patel, Alexandre Leclerc, Yogi Yang

create report pdf file to not suppert unicode

Startbeitrag von Vijay Patel am 26.04.2015 13:04

i am try create pdf but not show unicode,RTF field proper,that field(unicode,rtf) only english Language, not support other language (like this hindi,gujrati,chanish.....)

over code is
FileName is string = CompleteDir(fDataDir()) +"jsmtest.PDF"
iDestination(iPDF, FileName)
iPrintReport(RPT_PrintPepar)

Antworten:

i am create to pdf file to... rtf unicode file is give only (????????????????????????????????) sign...

von Vijay Patel - am 27.04.2015 03:10
i am try to create (.xls) to that type problem arivel.

rtf and unicode datatype set in database. to this field in generat pdf,xls file to ploblem is show that data (??????????????)


please help me
please give solution

von Vijay Patel - am 28.04.2015 03:03
Have you set text fields in you DB to support UNICODE?

Have you enabled your UI control's UNICODE feature?

HTH

Yogi Yang

von Yogi Yang - am 28.04.2015 06:00
but sir,, report is successfull created problem is comvert to pdf file then after prolem that unicode field...

von Vijay Patel - am 28.04.2015 07:34
If I know correctly in WD when we enter UNICODE in any control it does not complain and show the same on screen but if the required settings are not set as stated in my previous post what happens is that the content entered in UNICODE is converted to ANSI when save to DB.

And Reports retrieve the information to display or print from DB so what is shows in ANSI instead of UNICODE.

HTH

Yogi Yang

von Yogi Yang - am 28.04.2015 11:36
Hi Vijay,

You need to specify that the generated PDF is in unicode with iParameterPDF("","",iPDFUnicode). You do it just before launching the print preview (or or printing the PDF if not from the print preview).

http://doc.windev.com/en-US/?3046007

Best regards,
Alexandre Leclerc

von Alexandre Leclerc - am 28.04.2015 12:03
but sir,

iParameterPDF("","",iPDFUnicode)

this function is not worked in windev17

von Vijay Patel - am 28.04.2015 13:29
Hi Vijay,

I did not know you were in version 17. The Unicode feature in PDF appeared in version 18. At that point you could simply upgrade to version 20 while they are in promotion period for the English version (until May 31, 40% discount).

The other option (maybe) is to make a standard non Unicode report and convert manually from Unicode to standard ANSI when printing you data. I never tested that but it might work.

Best regards,
Alexandre Leclerc

von Alexandre Leclerc - am 28.04.2015 14:09
Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.