Uploaded image for project: 'OS Images'
  1. OS Images
  2. IMAGES-498

ubuntu1604 does not default to UTF-8 encoding

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Template:
    • Team:
      Agent
    • Story Points:
      3
    • Sprint:
      AP 2017-03-08, Agent 2017-03-22
    • QA Risk Assessment:
      Manual
    • QA Risk Assessment Reason:
      Infrastructure ticket

      Description

      This is due to the LANG environment variable not being set correctly. This is causing some acceptance tests in puppetDB to fail as the default encoding gets set to LATIN1 instead of UTF-8.

      ubuntu1604 image:

      root@jvlx65jb4vmwhbc:~# locale
      LANG=en_US
      LANGUAGE=en_US:
      LC_CTYPE=en_US.UTF-8
      LC_NUMERIC="en_US"
      LC_TIME="en_US"
      LC_COLLATE="en_US"
      LC_MONETARY="en_US"
      LC_MESSAGES="en_US"
      LC_PAPER="en_US"
      LC_NAME="en_US"
      LC_ADDRESS="en_US"
      LC_TELEPHONE="en_US"
      LC_MEASUREMENT="en_US"
      LC_IDENTIFICATION="en_US"
      LC_ALL=
      

      ubuntu1404 image:

      root@ib3c4aec3rg33ta:~# locale
      LANG=en_US.UTF-8
      LANGUAGE=en_US:
      LC_CTYPE=en_US.UTF-8
      LC_NUMERIC="en_US.UTF-8"
      LC_TIME="en_US.UTF-8"
      LC_COLLATE="en_US.UTF-8"
      LC_MONETARY="en_US.UTF-8"
      LC_MESSAGES="en_US.UTF-8"
      LC_PAPER="en_US.UTF-8"
      LC_NAME="en_US.UTF-8"
      LC_ADDRESS="en_US.UTF-8"
      LC_TELEPHONE="en_US.UTF-8"
      LC_MEASUREMENT="en_US.UTF-8"
      LC_IDENTIFICATION="en_US.UTF-8"
      LC_ALL=
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              spencer.mcelmurry Spencer McElmurry
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support