Php Html格式pdf模板

Php Html格式pdf模板,php,sugarcrm,suitecrm,Php,Sugarcrm,Suitecrm,我试图格式化名称,因为它产生未知的符号,但问题是我的代码不工作。 你能提出解决这个问题的办法吗?提前谢谢 $accountBean = BeanFactory::getBean('Accounts', $subscriptionBean->accounts_fp_subscriptions_1accounts_ida); $row['subscription_no'] = !empty($subscriptionBean->subscription_no) ? $su

我试图格式化名称,因为它产生未知的符号,但问题是我的代码不工作。 你能提出解决这个问题的办法吗?提前谢谢

$accountBean = BeanFactory::getBean('Accounts', $subscriptionBean->accounts_fp_subscriptions_1accounts_ida);
        $row['subscription_no'] = !empty($subscriptionBean->subscription_no) ? $subscriptionBean->subscription_no : '';
        $row['full_name'] = !empty($subscriptionBean->full_name) ? trim($subscriptionBean->full_name) : '';
        $row['total_due'] = !empty($subscriptionBean->balance_amount_c) ? $subscriptionBean->balance_amount_c : '0.00';
        $row['current_due'] = $this->getCurrentDue($subscriptionBean);

    if($accountBean == 'varchar') {
        $GLOBALS['log']->fatal("account bean");
        $accountBean->full_name = html_entity_decode($row->$accountBean[full_name]);
        }

您能否添加完整的详细信息,例如它包含哪些未知字符以及您如何尝试修复它?还有什么不符合您的期望?如果($accountBean=='varchar'),您希望使用此条件实现什么?