This is an archived forum post. The information may be outdated. Contact us if you have any questions.

Converted PDF has unwanted "chinese like" characters

Gary_L_Scott wrote on 2013-12-24:
The converted PDF has unwanted symbols where there is an   in the data cell or where the HTML entity "©" is used.
I've attached a converted PDF example file. This PDF was produced using the php api. See attached example of an HTML file that produces the problem. Text Encoding was set to utf-8.

How can these symbols be prevented?

Thanks,
Gary
support wrote on 2013-12-25:
Hello,

If you can post here the HTML code (or a link) the PDF was created from, I will look into it.
Gary_L_Scott wrote on 2013-12-27:
I update the original post and also uploaded an HTML file that shows the problem.

Thanks,
Gary
support wrote on 2013-12-28:
Hello Gary,

When I open the HTML file in my browser, the characters are not rendered correctly either (see the attached screenshot). Could you please fix the HTML file and upload the updated version?
blueskysd wrote on 2014-02-06:
Gary,

Did you every resolve your issue? I am also having an HTML entity related issue and hoping you could provide some insight.

Thanks,
Jenny
sarojdigi wrote on 2014-07-11:
I am also having same problem, my html code rendering in browser as expected only.

Please give me solution

Fallowing is my html code and see my attached generated pdf file.

<!DOCTYPE html> <html> <head> <title>RO</title> <meta charset="UTF-8"> </head> <body> <div style="width: 215mm;"> <div style="height: 128px;background-color:#cddcea;"> <div style="background-color: #5a7390; float: left; margin-left: 27px;"> <img src="http://www.adfromhomes.com/images/saroj-logo.jpg"> </div> <div style="padding: 42px 0 0 67px; float: left; font-size: 22px;color: #fff;"> SAROJ AD CREATORS (IND) PRIVATE LIMITED<br/> &nbsp; &nbsp; &nbsp; ad films | branding | media design | research </div> </div> <div style="height: 255mm; width: 27px; background-color: #5a7390;float: left;"></div> <div style="width: 160px; height:292px; border-right: 1px solid #5a7390; border-bottom: 1px solid #5a7390; float: left; font-size: 12px;"> <div style="height: 20px; border-bottom: 1px solid #5a7390; padding: 8px 0 0 10px;"></div> <div style="height: 20px; border-bottom: 1px solid #5a7390; padding: 8px 0 0 10px;">#103A, Richmond Towers,</div> <div style="height: 20px; border-bottom: 1px solid #5a7390; padding: 8px 0 0 10px;">12 Richmond Raod,</div> <div style="height: 20px; border-bottom: 1px solid #5a7390; padding: 8px 0 0 10px;">Bangalore, INDIA.</div> <div style="height: 20px; border-bottom: 1px solid #5a7390; padding: 8px 0 0 10px;"></div> <div style="height: 20px; border-bottom: 1px solid #5a7390; padding: 8px 0 0 10px;">Phone: +91-080-40948149</div> <div style="height: 20px; border-bottom: 1px solid #5a7390; padding: 8px 0 0 10px;">Fax: +91-080-40948151</div> <div style="height: 20px; border-bottom: 1px solid #5a7390; padding: 8px 0 0 ;">@ : business@sarojads.com</div> <div style="height: 20px; border-bottom: 1px solid #5a7390; padding: 8px 0 0 10px;">Web: www.sarojads.com</div> </div> <div style="padding:10px 0px 0px 10px; float: right; width: 570px;"> <div> <div style="float:left;">Ref: TXCLC5B2B66F</div> <div style="float:right;">Date: July 11, 2014</div> </div> <div style="clear:both;padding: 10px 0 0;"> <div style="float:left;"> The Manager,<br /> Advertisement (Classified) Department,<br /> Eenadu. </div> </div> <div style="clear:both;padding: 10px 0 0;"> <div style="float:left;">Dear Sir/Madam,</div> </div> <div style="clear:both;padding: 10px 0 0;"> <div style="float:left;">Kind attn.: Mr./Ms Shyam,</div> </div> <div style="clear:both;padding: 10px 0 0;"> <div style="float:left;">Sub : Release of &nbsp;&nbsp; TXCLC5B2B66F<strong> - </strong>Adilabad</div> </div> <div style="clear:both;padding: 10px 0 0;"> <div style="float:left;">Mail body</div> </div> <div style="clear:both;padding: 10px 0 0;"> <div style="float:left; width:170px;">CLIENT<div style="float:right;">&nbsp;:&nbsp;</div></div> <div style="float:left;">Praveenreddy Uppula</div> </div> <div style="border-bottom: 1pt solid #B9B9B9; padding: 8px 0 0;">&nbsp;</div><div> <div style="float:left; width:170px;">PUBLICATION<div style="float:right;">&nbsp;:&nbsp;</div></div> <div style="float:left;">Eenadu</div> </div> <div style="border-bottom: 1pt solid #B9B9B9; padding: 8px 0 0;">&nbsp;</div> <div> <div style="float:left; width:170px;">EDITION<div style="float:right;">&nbsp;:&nbsp;</div></div> <div style="float:left;">Adilabad</div> </div> <div style="border-bottom: 1pt solid #B9B9B9; padding: 8px 0 0;">&nbsp;</div><div> <div style="float:left; width:180px;">Category (sub-category)<div style="float:right;">&nbsp;:&nbsp;</div></div> <div style="float:left;">Obituary</div> </div> <div style="border-bottom: 1pt solid #B9B9B9; padding: 8px 0 0;">&nbsp;</div> <div> <div style="float:left; width:170px;">POSITION<div style="float:right;">&nbsp;:&nbsp;</div></div> <div style="float:left;">BEST POSITION</div> </div> <div style="border-bottom: 1pt solid #B9B9B9; padding: 8px 0 0;">&nbsp;</div> <div> <div style="float:left; width:170px;">CIS (offers)<div style="float:right;">&nbsp;:&nbsp;</div></div> <div style="float:left;">NIL</div> </div> <div style="border-bottom: 1pt solid #B9B9B9; padding: 8px 0 0;">&nbsp;</div> <div> <div style="float:left; width:170px;">Enhancements<div style="float:right;">&nbsp;:&nbsp;</div></div> <div style="float:left;">NIL</div> </div> <div style="border-bottom: 1pt solid #B9B9B9; padding: 8px 0 0;">&nbsp;</div> <div> <div style="float:left; width:170px;">AD SPEC<div style="float:right;">&nbsp;:&nbsp;</div></div> <div style="float:left;">10 Lines</div> </div> <div style="border-bottom: 1pt solid #B9B9B9; padding: 8px 0 0;">&nbsp;</div> <div> <div style="float:left; width:170px;">COLOUR<div style="float:right;">&nbsp;:&nbsp;</div></div> <div style="float:left;">Black&White</div> </div> <div style="border-bottom: 1pt solid #B9B9B9; padding: 8px 0 0;">&nbsp;</div> <div> <div style="float:left; width:170px;">DATE OF RELEASE<div style="float:right;">&nbsp;:&nbsp;</div></div> <div style="float:left;">20.08.2014 (Wednesday)</div> </div> <div style="clear:both;border-bottom: 1pt solid #B9B9B9;">&nbsp;</div> <div> <div style="float:left; width:170px;">RATE<div style="float:right;">&nbsp;:&nbsp;</div></div> <div style="float:left;">Rs.160/ per 5 Lines (Rs. 30/ per extra 1 Lines)</div> </div> <div style="border-bottom: 1pt solid #B9B9B9; padding: 8px 0 0;">&nbsp;</div> <div> <div style="float:left; width:170px;">GROSS RATE<div style="float:right;">&nbsp;:&nbsp;</div></div> <div style="float:left;">Rs.310.00/-</div> </div> <div style="border-bottom: 1pt solid #B9B9B9; padding: 8px 0 0;">&nbsp;</div> <div> <div style="float:left; width:295px;">NETT VALUE AFTER 15% DISCOUNT<div style="float:right;">&nbsp;:&nbsp;</div></div> <div style="float:left;">Rs.310.00/- </div> </div> <div style="border-bottom: 1pt solid #B9B9B9; padding: 8px 0 0;">&nbsp;</div> <div> <div style="float:left; width:170px;">PAYMENT<div style="float:right;">&nbsp;:&nbsp;</div></div> <div style="float:left;"></div> </div> <div style="border-bottom: 1pt solid #B9B9B9; padding: 8px 0 0;">&nbsp;</div> <div> <div style="float:left; width:130px;">AD MATERIAL<div style="float:right;">&nbsp;:&nbsp;</div></div> <div style="float:left; width:425px;">డిసెంబర్ 19, 1973 న మృతి చెందిన మా తాత అలెక్స్ (85) ఆత్మకు శాంతి చేకూరాలని ప్రార్థిస్తున్నాము. సెయింట్ జోసెఫ్ క్లీవ్ సేమేట్రిలో జరిగే ప్రార్థనలో పాల్గొనవలసిందిగా బంధు మిత్రులను ఆహ్వానిస్తున్నాం.</div> <div style="clear:both; border-bottom: 1pt solid #B9B9B9;">&nbsp;</div> </div> <div style="float:left;"> Thanking you,<br/> <div style="background: url('http://www.adfromhomes.com/images/jyoti.jpg') no-repeat;"> <br><br><br>Media Manager,<br> Saroj Ad Creators (IND) Private Limited. </div> </div> </div> <div style="width: 760px; float: right; text-align: center; font-size: 13px;"> <br/><strong>Registered Office:</strong><br/> #1046/40, M.G. Ramachandran Road, Kalakshetra Colony, Besant Nagar, Chennai - 600 090, Tamil Nadu, INDIA.<br> <strong>Phone - </strong> +91-44-24464122, <strong>Fax -</strong> +91-44-24464383, <strong>Email -</strong> office@sarojads.com, <strong> Web -</strong> www.sarojads.com<br/><br/> <strong>Hyderabad Office:</strong><br/> #715, Manjeera Majestic Commercial Building, Kukatpally - JNTU, HYDERBAD - 500 072, Telangana, INDIA.<br> <strong>Phone - </strong> +91-44-64522299, <strong>Email -</strong> office@sarojads.com, <strong> Web -</strong> www.sarojads.com </div> <div style="clear:both;"></div> <div style="width: 760px; height: 30px; float: right; text-align: center; background-color: #cddcea; font-size:20px; color: #fff;"> ad films | branding | media design | research </div> </div> </body> </html>