You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I realize we can't support every distribution, but wanted to mention an odd warning affecting xxdiff on at least Mabox (possibly Manjaro, Arch Linux.) Mabox can be found here: https://maboxlinux.org It is a rolling-release, so is up-to-date.
When xxdiff v5.1 (Qt 6.7.2) is installed in Mabox via the pamac installer (repo), it seems to run fine but always gives this warning:
Detected locale "C" with character encoding "ANSI_X3.4-1968", 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.
Thinking my locales were messed up, checked locale:
Nothing is set to =C so unsure where xxdiff thinks the locales are mis-set. This is the first time I've seen this message on this box, ever.
I've not saved a file with xxdiff yet, because want to use it to compare .conf files with .pacnew and .pacsave backups (and merge changes.) Those files are created from pamac when it detects new conf files (as opposed to just overwriting them.)
Further, a friend tried sudo apt install xxdiff (assuming Debian) and they do not get this message; it runs as expected.
Is there some quirk with locales only in Arch / Manjaro / Mabox? And is this completely benign, or will it save my files in C.UTF-8? Searching, seem to find a few users with similar issues stemming from a newer Qt.
Thanks for the consideration, have a great day.
The text was updated successfully, but these errors were encountered:
Thanks mj. I won't have resources to look into this.
This is most like related to this bit:
static char s_env_string_LC_ALL[] = "LC_ALL=C";
//------------------------------------------------------------------------------
//
int main( int argc, char** argv, char** envp )
{
...
// Override user locale or xxdiff could not parse localized diff output...
putenv(s_env_string_LC_ALL);
I have no idea why I wrote this at the time (it's >20 years ago).
I was probably just being temporarily dumb.
You can try commenting out and testing, see how the problem I alluded manifests.
Good day,
I realize we can't support every distribution, but wanted to mention an odd warning affecting xxdiff on at least Mabox (possibly Manjaro, Arch Linux.) Mabox can be found here: https://maboxlinux.org It is a rolling-release, so is up-to-date.
When xxdiff v5.1 (Qt 6.7.2) is installed in Mabox via the
pamac
installer (repo), it seems to run fine but always gives this warning:Thinking my locales were messed up, checked
locale
:Nothing is set to
=C
so unsure where xxdiff thinks the locales are mis-set. This is the first time I've seen this message on this box, ever.I've not saved a file with xxdiff yet, because want to use it to compare .conf files with .pacnew and .pacsave backups (and merge changes.) Those files are created from
pamac
when it detects new conf files (as opposed to just overwriting them.)Further, a friend tried
sudo apt install xxdiff
(assuming Debian) and they do not get this message; it runs as expected.Is there some quirk with locales only in Arch / Manjaro / Mabox? And is this completely benign, or will it save my files in C.UTF-8? Searching, seem to find a few users with similar issues stemming from a newer Qt.
Thanks for the consideration, have a great day.
The text was updated successfully, but these errors were encountered: