Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-68139

Japanese text in message.boards.email.message.added.body does not render properly in the editor and in outbound emails

    Details

      Description

      Description:
      When modifying the message.boards.email.message.added.body property to include Japanese text, there seems to be something wrong with the encoding as it is not being rendered properly in the UI editor, as well as the outbound email.

      Steps to reproduce:
      1. Extract a clean 7.0 DE bundle and install Fix Pack 4 (DE-4)
      2. Set the following property in portal-ext.properties:

      message.boards.email.message.added.body=<p>[$MESSAGE_BODY$]<br /><br />[$COMPANY_NAME$] Message Boards<br />[$MESSAGE_URL$]<br />[$MAILING_LIST_ADDRESS$]<br />[$PORTAL_URL$]</p><hr /><p>弊社システムからの通知メール</p>

      3. Start up the environment
      4. Go into Menu Bar > Liferay DXP (site) > Contents > Message Boards > Menu (three dots) > Message Added Email (tab)
      5. Examine the body

      Expected Result:
      Japanese text appears as intended.

      [$MESSAGE_BODY$]
      
      [$COMPANY_NAME$] Message Boards
      [$MESSAGE_URL$]
      [$MAILING_LIST_ADDRESS$]
      [$PORTAL_URL$]
      
      弊社システムからの通知メール

      Actual Results:
      Japanese text is garbled.

      [$MESSAGE_BODY$]
      
      [$COMPANY_NAME$] Message Boards
      [$MESSAGE_URL$]
      [$MAILING_LIST_ADDRESS$]
      [$PORTAL_URL$]
      
      弊社ã‚- ステムからの通知メール

        Attachments

          Activity

            People

            Assignee:
            sylvia.luan Sylvia Luan
            Reporter:
            brian.suh Brian Suh
            Participants of an Issue:
            Recent user:
            Sylvia Luan
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              2 years, 49 weeks, 6 days ago

                Packages

                Version Package