Forums / Setup & design / [PDF export] Problem with accent in XML block

[PDF export] Problem with accent in XML block

Author Message

Aurore Hublé

Wednesday 17 January 2007 7:27:34 am

Hi

I use PDF export and the accent are wrong displayed like ":callSpace>". I saw there is the same problem with text and it is solve by adding few lines in ezpdf.php but concerning xml block I don't found solution.

Any idea ?

Aurore Hublé

Wednesday 24 January 2007 7:35:21 am

Up

Aurore Hublé

Thursday 25 January 2007 12:16:58 am

Ok, I think I have found a solution : Including XML in a table like :

    	{set-block variable=$tblTotal}
	<tr>   
	<td:align:left:>{$node.data_map.[XML block name].content.pdf_output.output_text}</td>
	</tr>		 
	{/set-block}
{pdf(table, $tblTotal, hash('showLines',0,
					'firstRowTitle',0,
					'titleCellCMYK',array( 0, 0, 0, 0.20 ),
					'titleFontSize',8,
					'rowGap',4,
					'colGap',4,
					'cellPadding',0,
					'width',435,
					'repeatTableHeader',0) )}
 

Hope it help someone else