Confluence Data Center の PDF エクスポートで、英語以外の文字、ウムラウト、分音符号が欠落しているか、ボックスで表示される

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

プラットフォームについて: Data Center のみ - この記事は、Data Center プラットフォームのアトラシアン製品にのみ適用されます。

この KB は Data Center バージョンの製品用に作成されています。Data Center 固有ではない機能の Data Center KB は、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。サーバー*製品のサポートは 2024 年 2 月 15 日に終了しました。サーバー製品を利用している場合は、アトラシアンのサーバー製品のサポート終了のお知らせページにて移行オプションをご確認ください。

*Fisheye および Crucible は除く

要約

When exporting a Confluence page out to PDF, on english characters, umlauts and diaeresis might appear missing, or as boxes or even garbled in the PDF content.

環境

Confluence Data Center installation on a Linux Server.


診断

  1. The following encoding are already set to UTF-8
    1. -Dsun.jnu.encoding=UTF-8
    2. -Dfile.encoding=UTF-8
  2. Database encoding set correctly.
  3. Issue does not persist when the PDF Conversion Sandbox process for Confluence Data Center is disabled.
    • -Dpdf.export.sandbox.disable=true


原因

  1. The PDF conversion process is Confluence Data Center is controlled by a separate sandbox process, even on a DC instance running on a single node.
  2. In some cases this process might not pick up the encoding that is set for Confluence, and we will need to manually parse these valus.


ソリューション

  1. Add the following parameter to the setenv.sh file for each node and restart Confluence.
    • CATALINA_OPTS="-Dconversion.sandbox.java.options=-Xmx512m,-Xss2m,-Dsun.jnu.encoding=UTF-8,-Dfile.encoding=UTF-8 ${CATALINA_OPTS}"




最終更新日: 2020 年 2 月 17 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.