PDA

View Full Version : Use MIME HTML option for PDF Invoice?



grozanc
08-01-2012, 08:08 AM
Hello Again,

I've been using ASCII HTML codes for things like trademarks and copyright symbols to avoid them turing to gibberish. I've used the MIME HTML option to solve those showing up in the emails as raw text, but They are still showing up at ©, ™, etc. in the PDF Invoice.

Does anyone know a workaround for this? I can change the ascii symbols in the database to something that is more pdf friendly if they don't turn to gibberish on the web site.

Thanks,
Gary

pgmarshall
08-01-2012, 10:06 AM
Then simply wrap the text you are outputting in the PDF inside a html_entity_decode()

Regards.

grozanc
08-01-2012, 10:21 AM
Thanks Again,

Do you know the name/location of file(s) I need to make this edit to off the top of your head?

Thanks,
Gary

pgmarshall
08-01-2012, 11:06 AM
catalog/admin/includes/modules/batch_print/templates/Invoice_s3.php

grozanc
08-01-2012, 11:52 AM
Perfect! Thanks!