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.
- Confluence を終了します。
- In SQLServer Studio go to Tools > Options> Designer > Table and Database Designers > Uncheck the box Prevent saving changes that require table re-creation.
- Expand Body Content table.
- Expand Columns.
- Right click on BODY column
- Modify
- Change the BODY column from text to ntext.
- Save.
- Confluence を起動します。
Last modified on Mar 2, 2016
Powered by Confluence and Scroll Viewport.