NOTE: This bug report is for Confluence Server. Using Confluence Cloud? See the corresponding bug report.

      Setting Confluence default encoding to UTF-16 renders 'chinese' characters for spaces and even the login screen.

      It is also impossible to set it back to UTF-8, since the UI is not rendered:

      To verify this is the problem run in the database:

      SELECT BANDANAVALUE FROM BANDANA where BANDANAKEY = 'atlassian.confluence.settings';
      

      if it returns a different value of UTF-8 in the result, then it is affected.

      Steps to reproduce:

      1. Set up a new Confluence
      2. Go under the Administrator Panel > General Configuration > Formatting and International Settings and change Encoding field from UTF-8 to UTF-16.

      Expected Result:
      Confluence doesn't allow the change
      Actual Result:
      Confluence becomes unusable, styles are broken and administration sections are locked.
      Can't be reverted back unless a DB change is done.

      Workaround

      1. Shut down Confluence and perform a database backup
      2. Run:
        UPDATE  BANDANA set BANDANAVALUE = REPLACE(BANDANAVALUE, 'UTF-16', 'UTF-8') where BANDANAKEY = 'atlassian.confluence.settings';
        
      3. Start Confluence

            [CONFSERVER-35907] Setting Confluence to use UTF-16 encoding causes problems

            Monique Khairuliana (Inactive) made changes -
            Link Original: This issue was cloned as CONFSERVER-59537 [ CONFSERVER-59537 ]
            Monique Khairuliana (Inactive) made changes -
            Link New: This issue duplicates CONFSERVER-59537 [ CONFSERVER-59537 ]
            Monique Khairuliana (Inactive) made changes -
            Link New: This issue was cloned as CONFSERVER-59537 [ CONFSERVER-59537 ]
            Katherine Yabut made changes -
            Workflow Original: JAC Bug Workflow v3 [ 2898981 ] New: CONFSERVER Bug Workflow v4 [ 3002187 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow v2 [ 2791687 ] New: JAC Bug Workflow v3 [ 2898981 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow [ 2721621 ] New: JAC Bug Workflow v2 [ 2791687 ]
            Owen made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2391731 ] New: JAC Bug Workflow [ 2721621 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 [ 2271976 ] New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2391731 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2223807 ] New: Confluence Workflow - Public Facing - Restricted v5 [ 2271976 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2177171 ] New: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2223807 ]

              Unassigned Unassigned
              emallmann Eduardo Mallmann (Inactive)
              Affected customers:
              3 This affects my team
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: