How to check multibyte MySQL table data with Liferay PaaS

Note: please note that Liferay has renamed its Liferay Experience Could offerings to Liferay SaaS (formerly LXC) and Liferay PaaS (formerly LXC-SM).

Issue

  • Inshellof liferayservice2bytecode information is all"??"and the contents cannot be verified.

Environment

  • Liferay PaaS

Solution

  • The Liferay Cloud container's locale is set to POSIX, which does not support UTF-8, by default.This is why Japanese user names do not appear correctly in the console.

    You can change the settings by setting liferay/LCP.json as follows and deploying the file.
    Please execute the relevant query after the change and confirm that the user name is written in Japanese.

    <liferay/LCP.json>
    {

    "env": {

    "LANG": "C.UTF-8"

    },

    }

Additional Information

 

 

这篇文章有帮助吗?
0 人中有 0 人觉得有帮助