[mythtv-commits] mythtv/master commit: a63fc04f5 by Michael T. Dean (sphery)
MythTV
noreply at mythtv.org
Sun Oct 9 18:02:35 UTC 2011
Author: Michael T. Dean <mdean at mythtv.org>
Change Date: 2011-10-09T11:01:21-07:00
Push Date: 2011/10/09 11:02:22 -0700
Repository: mythtv
Branch: master
New Revision: a63fc04f5b21ec7b59592c22f08a63a49c0d68d6
Changeset: https://github.com/MythTV/mythtv/commit/a63fc04f5
Log:
Use setlocale() in the UTF-8 charset check, too.
It seems my assumption that any sane distro that sets locale also sets
LC_ALL and/or LC_CTYPE environment variables is invalid for at least one
distro. So, use setlocale() in the charset check, too, then fall back
to the environment variables for non-glibc systems (whose setlocale()
may not check those variables), as the Qt QTextCodec class does.
Modified:
mythtv/libs/libmythbase/mythcorecontext.cpp
More information about the mythtv-commits
mailing list