[mythtv-users] LANG settings for 0.25 version

Michael T. Dean mtdean at thirdcontact.com
Mon Jun 18 13:12:40 UTC 2012


On 06/18/2012 01:40 AM, Paul Wilson wrote:
> I've just recently upgraded mythTV to 0.25, and for the most part 
> everything seems to be behaving normally but I'm just browsing the 
> backend log file and see this message
>
> 2012-06-18 15:14:23.713204 I [1614/1614] CoreContext 
> mythcorecontext.cpp:227 (Init) - Assumed character encoding: en_AU
> 2012-06-18 15:14:23.713215 W [1614/1614] CoreContext 
> mythcorecontext.cpp:234 (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').
>
> I've set my   /etc/sysconfig/i18n as follows.
>
> LANG="en_AU.UTF-8"
> SYSFONT="latarcyrheb-sun16"
> SUPPORTED="en_US.UTF-8:en_US:en"
>
> and locale command confirms this is now ok
> why is MythTV thinking its still just en_AU

/etc/sysconfig/i18n sets up the environment for users who log in to your 
system.  The environment in which your mythbackend program is running is 
not set.  This is why you get a warning in mythbackend but not in 
mythfrontend.  You need to set the LANG and/or LC_ALL in the script that 
starts mythbackend.

Mike


More information about the mythtv-users mailing list