Special Characters in FPDF with PHP

前端 未结 8 1940
陌清茗
陌清茗 2020-12-05 00:16

I have a web form that users can fill out and that content fills up a PDF with FPDF and PHP. When a user enters a word with an apostrophe, a slash appears before it on the P

8条回答
  •  时光取名叫无心
    2020-12-05 00:44

    This class is a modified version of FPDF that adds UTF-8 support. Moreover, it embeds only the necessary parts of the fonts that are used in the document, making the file size much smaller than if the whole fonts were embedded. These features were originally developed for the mPDF project.

    http://fpdf.org/en/script/script92.php

提交回复
热议问题