Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ufpdfを使用して、PHP で Unicode/UTF-8 の pdf ファイルを生成しました。Windows用のxampp 1.6.7で正しく動作します。
ただし、xampp 1.7.2(ウィンドウ)でテストしましたが、機能せず、次のようになりました:
"%PDF-1.3 3 0 obj <> endobj 4 0 obj <> ストリーム x.3R��2.35W(�r Q�w3T06�30PISp �Z*�[��Y+��..."
ファイルをpdfにレンダリングする際に問題があるようです。DOM PDF または html2ps の liberies を使用することをお勧めします。これらは、PHP ファイルのレンダリングに広く使用されています。
あなたのニーズに合わせてDOM PDFをお勧めします。
HTML2PS
dompdf