
Originally Posted by
abcisme
Having trouble with the special characters in PDF packing slips. The generated PDF files are automatically encoded in ANSI. Is there any way to specify UTF-8 encoding? I'm getting a bunch of è and é etc....
Figured out the product names, but still having trouble with encoding the attributes...
For the product names: in admin/includes/functions/extra_functions/lcsd_merged_packing_slips.php
Find:
Code:
/* draw order items in table */
for ($i=0, $n=sizeof($order->products); $i<$n; $i++) {
$prod_name = $order->products[$i]['name'];
Replace with:
Code:
/* draw order items in table */
for ($i=0, $n=sizeof($order->products); $i<$n; $i++) {
$prod_name = utf8_decode($order->products[$i]['name']);
Bookmarks