Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-120059

Invalid warnings about invalid/non-UTF-8 locale

    XMLWordPrintable

Details

    Description

      On every system that we build Qt 6.5 on, we get this warning when running the host tools (while compiling Qt, fex). Common for all systems is that the locale is UTF-8 enabled, see below:

      Detected locale "C" with character encoding "UTF-8", which is not UTF-8.
      Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
      If this causes problems, reconfigure your locale. See the locale(1) manual
      for more information.
      

      To me it seems like UTF-8 is UTF-8 .

      LANG=en_US.UTF-8
      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

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              kkohne Kai Köhne
              andrhans Andreas Aardal Hanssen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes