Details

    • Similar Issues:
      Show 4 results 

      Description

      Tested specifically in message boards portlet.

      Create Category and Thread in category with title Tést Catégory. Export Lar file. I have attached the lar file i used.

      Create new community and export the portlet lar into new community. Export will work but the utf8 characters will not display correctly.

        Issue Links

          Activity

          Hide
          Igor Spasic added a comment -

          This happens usually when default file encoding is not set, a common issue when working with app servers. Would you be so kind to try the following:

          --[WebSphere]--------------------------------------------------
          Navigate to:

          Servers > WebSphere application servers > server1 > Configuration tab > Server Infrastructure > Java and Process Management > Process definition > Additional Properties > Java Virtual Machine > Java Virtual Machine > Generic JVM arguments

          Add:
          -Dfile.encoding=UTF8

          to the field. Save configuration and (just to be sure restart the server.

          --[WebLogic]--------------------------------------------------
          I was not able to set it in administration console, but only by editing the file: domains\base_domain\bin\setDomainEnv.cmd.
          Stop the server, modify the line #244 to looks like this:

          ------------------
          set JAVA_PROPERTIES=-Dfile.encoding=UTF8 %JAVA_PROPERTIES% %EXTRA_JAVA_PROPERTIES%
          ------------------

          After above setup import of utf8 chars should work.

          Show
          Igor Spasic added a comment - This happens usually when default file encoding is not set, a common issue when working with app servers. Would you be so kind to try the following: -- [WebSphere] -------------------------------------------------- Navigate to: Servers > WebSphere application servers > server1 > Configuration tab > Server Infrastructure > Java and Process Management > Process definition > Additional Properties > Java Virtual Machine > Java Virtual Machine > Generic JVM arguments Add: -Dfile.encoding=UTF8 to the field. Save configuration and (just to be sure restart the server. -- [WebLogic] -------------------------------------------------- I was not able to set it in administration console, but only by editing the file: domains\base_domain\bin\setDomainEnv.cmd. Stop the server, modify the line #244 to looks like this: ------------------ set JAVA_PROPERTIES=-Dfile.encoding=UTF8 %JAVA_PROPERTIES% %EXTRA_JAVA_PROPERTIES% ------------------ After above setup import of utf8 chars should work.
          Hide
          Lawrence Lee added a comment -

          The configurations worked. Thanks Igor

          Show
          Lawrence Lee added a comment - The configurations worked. Thanks Igor

            People

            • Assignee:
              Lawrence Lee
              Reporter:
              Lawrence Lee
              Recent user:
              Randy Zhu
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                4 years, 37 weeks, 5 days ago

                Development

                  Structure Helper Panel