mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-22 05:33:45 -04:00
main: log locale
This commit is contained in:
parent
4ca6e760f2
commit
77af910330
1 changed files with 1 additions and 0 deletions
1
main.c
1
main.c
|
|
@ -311,6 +311,7 @@ main(int argc, char *const *argv)
|
||||||
}
|
}
|
||||||
|
|
||||||
setlocale(LC_ALL, "");
|
setlocale(LC_ALL, "");
|
||||||
|
LOG_INFO("locale: %s", setlocale(LC_CTYPE, NULL));
|
||||||
if (!locale_is_utf8()) {
|
if (!locale_is_utf8()) {
|
||||||
LOG_ERR("locale is not UTF-8");
|
LOG_ERR("locale is not UTF-8");
|
||||||
return ret;
|
return ret;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue