legacy-knowledge-base
公開されました Sep. 10, 2025

SQL Server で Liferay をセットアップするために使用できる照合順序は?

written-by

Tímea Bihari

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

legacy-article

learn-legacy-article-disclaimer-text

問題

  • Liferay は、サポートされているすべての文字セットを表示するために、データベースを文字セット UTF-8 でエンコードすることをお勧めします (データベースの準備)
  • SQL Server 内の明示的な UTF-8 照合は、SQL Server 2019 でのみ導入されました

Environment

  • Liferay DXP 7.0+

解決策

  • SQL Server 2017 以下に関しては、UTF-8 文字のサポートは、それらの Unicode データ型を使用することに由来します
  • Liferay は、SQL Server の Unicode データ型を利用して UTF-8 データを処理できます。
  • Liferay は主に Unicode データ型を使用します。SQL Server を使用する場合は NVARCHAR です。
  • SQL Server の Unicode データ型を使用すると、UTF-8 サポートに関する Liferay のニーズを満たすことができます。

did-this-article-resolve-your-issue

legacy-knowledge-base