Legacy Knowledge Base
Published Sep. 10, 2025

Registration of certain characters may fail.

Written By

Shimada Taro

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

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

Issue

  • The following error is thrown when certain characters are included in the registration of web content, notice portlets, etc.
Incorrect string value: '\xF3\xA0\x84\x80\xE9\x87...' for column 'content' at row 1

Environment

  • Liferay Portal 6.2, Liferay DXP 7.0, Liferay DXP 7.1, Liferay DXP 7.2

Resolution

  • If you are using MySQL and the charset setting is UTF-8, an error may be thrown
  • This problem occurs because MySQL UTF-8 can store up to 3 bytes and does not support characters with more than 3 bytes.
  • You need to set the charset to utf8mb4 or use a database other than MySQL
  • If you use utf8mb4, adjust the database-oriented settings defined in portal-ext.properties as follows
jdbc.default.url = jdbc: mysql: // localhost / lportal? dontTrackOpenResources = true&holdResultsOpenOverStatementClose = true&useFastDateParsing = false

Additional Information

Did this article resolve your issue ?

Legacy Knowledge Base