Details
-
Bug
-
Resolution: Out of scope
-
P2: Important
-
None
-
Qt Creator 9.0.0
-
None
Description
Running a minimal program in Qt Creator reveals:
Detected system locale encoding (ANSI_X3.4-1968, locale "") is not UTF-8. Qt shall use a UTF-8 locale ("C.UTF-8") instead. If this causes problems, reconfigure your locale. See the locale(1) manual for more information.
Setting LC_ALL in Qt Creators Run environment for the project makes it disappear.
Running the same program (built with Qt Creator) directly from the console works without this message. The behaviour is new starting with 9.0.x, never seen these messages before.
$ locale LANG=C.UTF-8 LC_CTYPE="C.UTF-8" LC_NUMERIC="C.UTF-8" LC_TIME="C.UTF-8" LC_COLLATE="C.UTF-8" LC_MONETARY="C.UTF-8" LC_MESSAGES="C.UTF-8" LC_PAPER="C.UTF-8" LC_NAME="C.UTF-8" LC_ADDRESS="C.UTF-8" LC_TELEPHONE="C.UTF-8" LC_MEASUREMENT="C.UTF-8" LC_IDENTIFICATION="C.UTF-8" LC_ALL=
Stock Fedora 37. LC_ALL is not set.
Attachments
Issue Links
- duplicates
-
QTBUG-111443 macOS/iOS: "Detected system locale encoding (US-ASCII, locale "C") is not UTF-8"
- Closed