Chinese characters appears as question marks

お困りですか?

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

コミュニティに質問

問題

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 を起動します。

 

Last modified on Mar 2, 2016

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

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