Created attachment 1059208 [details] Patch to use C locale instead of C.UTF-8 Regional Settings uses C.UTF-8 locale for Default - (C). But this is not supported in Fedora yet. I wrote a patch to use C instead of C.UTF-8. It works for me. I think the patch is not for upstream. It for Fedora only and must be dropped when Bug 902094 will be closed.
Asked onlist for feedback, https://lists.fedoraproject.org/pipermail/kde/2015-August/015615.html
The patch looks good to me. Minor nitpick is that it should be cvalue != QLatin1String("C") to compile with QT_NO_CAST_FROM_ASCII) or locale.language() != QLocale::C to avoid string comparision completely.
Any news here?
I'm importing the patch today, using locale.language() != QLocale::C variant as suggested in comment #2
%changelog * Wed Sep 09 2015 Rex Dieter <rdieter> 5.4.0-4 - Wrong C.UTF-8 locale (#1250238)
Thanks!
Rex look at this comment https://bugs.kde.org/show_bug.cgi?id=348678#c4
I think he's wrong, I'm not aware of any downstream customizations around locale handling.... but I'm not a glibc expert either.
Rex, seems Fedora now has C.UTF-8 and the patch can be dropped. https://bugzilla.redhat.com/show_bug.cgi?id=902094#c20
Looks like it was added only for f24+'s glibc, as far as I can tell, so we'll probably want to keep this for f22/f23.