Mk/Uses/kde.mk: set up UTF-8 locale as default on build environment (+)

Recently we discovered a bug with plasma apps parsing non-latin strings when
pure C locale was used at compile stage which leads to save and display
broken strings full of "?" symbols.

Fix it by set a full UTF-8 locale for the build process.

Idea:	arrowd
Tests:	fluffy

Sponsored by:	Serenity Cybersecurity, LLC
This commit is contained in:
Dima Panov 2023-03-17 22:23:47 +03:00
parent 277d6022f6
commit 1dd6bda76a
No known key found for this signature in database
GPG key ID: FB8BA09DD5398F29

View file

@ -189,6 +189,8 @@ IGNORE?= unknown CATEGORY value '${_KDE_CATEGORY}' #'
. endif #defined(_KDE_CATEGORY)
# ==============================================================================
# === SET UP LOCALE ENVIRONMENT =================================================
USE_LOCALE?= en_US.UTF-8
# === SET UP CMAKE ENVIRONMENT =================================================
# Help cmake to find files when testing ports with non-default PREFIX.