【问题标题】:How to print Hindi charactors in a pdf file using tc pdf [closed]如何使用 tcpdf 在 pdf 文件中打印印地语字符 [关闭]
【发布时间】:2016-09-15 10:44:56
【问题描述】:

我正在使用 php tcpdf 库将 html 转换为 pdf 文件。

在我的 html 文件中,有些单词是印地语,有些是英语。英语单词显示正确,但印地语显示一些 '??????'。请帮忙解决这个问题。

【问题讨论】:

    标签: php internationalization tcpdf hindi


    【解决方案1】:

    查看下面提到的 TCPDF 网站中提到的示例。 URL [用于外部 UTF-8 unicode]:https://tcpdf.org/examples/example_008/

    【讨论】:

    • 示例 08 是一个文本文件,仅适用于文本数据。但我有 html 格式的数据。
    • 使用php的strip_tags函数删除html并将数据存储在$utf8text变量中。
    • 感谢现在的工作
    猜你喜欢
    • 1970-01-01
    • 2013-05-24
    • 1970-01-01
    • 1970-01-01
    • 2019-12-20
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多