[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mythtv-commits
Subject:    [mythtv-commits] mythtv/master commit: b82c53a5b by Michael T. Dean
From:       MythTV <noreply () mythtv ! org>
Date:       2011-08-30 1:58:31
Message-ID: 20110830015831.11FB749C03A () new ! mythtv ! org
[Download RAW message or body]

      Author:  Michael T. Dean <mdean@mythtv.org>
 Change Date:  2011-08-29T18:57:06-07:00
   Push Date:  2011/08/29 18:58:23 -0700
  Repository:  mythtv
      Branch:  master
New Revision:  b82c53a5b5a8ebf09f364cfc8f652faa4563859e
   Changeset:  https://github.com/MythTV/mythtv/commit/b82c53a5b

Log:

Extend the character encoding check.

Extend the character-encoding check from 0fd398714 to better approximate
the approach that Qt uses internally to determine the encoding.  Qt has
a much more complex process than is reflected, here, but the approach
below pretty much lines up with "standard" *nix programming and if users
follow the instructions, Qt should use the encoding they specify.  This
also changes the check to specifically look for the string UTF-8
somewhere in the checked environment variables and warns if it's not
there.

This may actually warn in cases where Qt still manages to use a UTF-8
encoding, but since we can't directly find out which encoding Qt is
using and since it's better for users to explicitly request a UTF-8
encoding than rely on some strange fallback that gets them there, this
seems reasonable.

Modified:

   mythtv/libs/libmythbase/mythcorecontext.cpp

_______________________________________________
mythtv-commits mailing list
mythtv-commits@mythtv.org
http://www.mythtv.org/mailman/listinfo/mythtv-commits
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic