Converting ISO
mcrickman - October 14, 2009 - 16:29
| Project: | Mailing Label |
| Version: | 6.x-1.1-beta1 |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
When a labels output has a '&' the pdf will output the ISO: & this is true for ' and " too.
Can this be corrected easily?
Charlie

#1
This uses the ufpdf converter to make the pdfs using the UTF-8 character set. From your question I'm not really sure what your issue is. Can you rephrase?
#2
If your label contains an '&' sign the printed output is '& a m p ;' minus spaces.
I wrote this as a work around.
mailing_label.module.php line 85
<?php
$v = str_replace("&", " & ", $v);
$v = str_replace("amp;", "", $v);
$v = str_replace("#039;", "'", $v);
$val .= "$v\n";
?>
Charlie
#3
This makes sense. I will try and take a look.