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
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

aaroncouch - October 17, 2009 - 20:52

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

mcrickman - October 26, 2009 - 16:27
Version:6.x-1.1-alpha2» 6.x-1.1-beta1

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("&amp;", " & ", $v);
$v = str_replace("amp;", "", $v);
$v = str_replace("#039;", "'", $v);
$val .= "$v\n";
?>

Charlie

#3

aaroncouch - October 26, 2009 - 16:54

This makes sense. I will try and take a look.

 
 

Drupal is a registered trademark of Dries Buytaert.