Config file deployment with values in special Unicode characters are not visible properly in User Interface
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
- When exporting some settings from Control Panel → System Settings, the resulting OSGi config file will be UTF-8 encoded. However, at the next startup, when reading that file, Liferay does not assume that it is UTF-8 encoded and therefore special Unicode characters (eg.: Japanese or Korean language) appear wrongly after that.
Resolution
- Set one of the following properties:
-
module.framework.properties.felix.fileinstall.configEncoding=UTF-8 in portal-ext.properties or
-
felix.fileinstall.configEncoding=UTF-8 in system-ext.properties
Did this article resolve your issue ?