Chinese characters appears as question marks

お困りですか?

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

コミュニティに質問

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

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

*Fisheye および Crucible は除く

問題

Adding Chinese characters into a Confluence page and saving shows the characters as question marks.

診断

環境

  • Usually in Microsoft SQLServer
  • Characters also appear as question marks in the database


If you have a page with the title: 'chinesecharacters 象形字', check what are the characters saved as in the database by using the following query:


SELECT * FROM CONTENT WHERE TITLE LIKE 'chinesecharacters%'



If this is not the case, this KB will not be applicable for you.


原因

This behaviour happens on Microsoft SQLServer when you have a incorrect data type as the jdts driver has problems with multi-byte characters. 

ソリューション

Please backup your database before you do the following.

  1. Confluence を終了します。
  2. In SQLServer Studio go to Tools > Options> Designer > Table and Database Designers > Uncheck the box Prevent saving changes that require table re-creation.
  3. Expand Body Content table.
  4. Expand Columns.
  5. Right click on BODY column
  6. Modify
  7. Change the BODY column from text to ntext.
  8. Save.
  9. Confluence を起動します。


最終更新日: 2025 年 1 月 15 日

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

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