[mythtv] Help needed for RPM Fusion package modernizaton

Bill Meek keemllib at gmail.com
Wed Jul 18 18:03:50 UTC 2012


On 07/18/2012 10:04 AM, Stuart Morgan wrote:
> On Wednesday 18 Jul 2012 09:36:01 Bill Meek wrote:
...
>> Set LANG if it isn't already. For example: LANG=en_US.UTF-8.
>
> Making sure that it's actually correct for that machine/user and not en_US for
> everyone.
>
> That said we don't actually need LANG for locale, it's just used as a hint, we
> still ask users to confirm their language/country - entering these incorrectly
> will result in the wrong settings being used by default.

Hi;

I use: test -f /etc/default/locale && . /etc/default/locale || true
to set it properly LANG in the Upstart .conf file.

In any case, I always set LANG to remove the info & warning messages
in the backend (and frontend) log:

   I [1329/1329] CoreContext mythcorecontext.cpp:231 (Init) - Assumed character encoding:
   W [1329/1329] CoreContext mythcorecontext.cpp:238 (Init) - This application expects to be running a locale that specifies a UTF-8 codeset, 
and many features may behave improperly with your current language settings. Please set the LC_ALL or LC_CTYPE, and LANG variable(s) in the 
environment in which this program is executed to include a UTF-8 codeset (such as 'en_US.UTF-8').

The above from: v0.26-pre-906-gb66f0cf, I updated the Upstart Wiki while on 0.25pre.

Or I have something configured wrong, or the messages don't need to be there
anymore or ???

-- 
Bill


More information about the mythtv-dev mailing list