Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-30480

Set a default UTF8 locale in docker image

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2021.3
    • Fix Version/s: 11.x, 2021.7
    • Component/s: Docker Image
    • Tags:
    • Sprint:
      nxplatform #39, nxplatform #40
    • Story Points:
      2

      Description

      The default locale is POSIX?

      This causes the following error when trying to use path with UTF8 characters in java code

      java.nio.file.InvalidPathException: Malformed input or input contains unmappable characters: 東京
      

      Solution

      ENV LANG="en_US.UTF-8" \
          LANGUAGE="en_US:en" \
          LC_ALL="en_US.UTF-8"
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: