BBS-質問掲示板/67
文字化け - NW (2011年09月22日 18時22分17秒)
PXDOCの1.1825を使用しています。
IEで、PHPからPXdocを起動して印刷をしています。
出力したファイルIDの漢字の部分と
出力されたPXDocのメニューバーが以下のように文字化けを起こしています。
????(F) ??(V) ??(M) ???(H)
回避策がわかれば、教えてください。
文字化けがおこる端末と起こらない端末があります。
文字化けが発生する端末情報です。
ブラウザ:Ie8
OS:Win7 Pro 32bit
PXDOC:1.1821
ソースは以下のとおりです。
$outTitle = '振替伝票'; $sendName .= $outTitle; $sendTitle .= $outTitle; $outTitle = '振 替 伝 票'; $this->_view->assign('dentitle', $outTitle); // Browser Header file name $strPxdName = mb_convert_encoding("$sendName", "Shift_JIS", "UTF-8"); // Browser Header Info header("Cache-Control: private"); header("Pragma: private"); header("Expires: -1"); header("Content-type: application/pxd;"); header("Content-Disposition:inline;filename=\"" . $strPxdName . ".pxd\""); // Sending File Info echo '<?xml version="1.0" encoding="UTF-8"?>'; echo "\n"; echo '<pxd save="yes" paper-type="a4" orientation="landscape" ' . 'name="' . $sendName . '" ' . 'title="' . $sendTitle . '" delete="yes">'; echo $this->render('prt_denpyo.tpl'); echo "</pxd>";
以上 よろしくお願いします。