[mythtv-users] Issue with accents in titles and descriptions: Myth or Schedules Direct?
Hika van den Hoven
hikavdh at gmail.com
Tue Apr 7 18:46:26 UTC 2015
Hoi Ian,
Tuesday, April 7, 2015, 8:46:20 PM, you wrote:
> On Tue, Apr 7, 2015 at 2:35 PM, Michael T. Dean <mtdean at thirdcontact.com>
> wrote:
>> On 04/07/2015 02:31 PM, Ian Evans wrote:
>>
>>>
>>> Okay, while my environment shows the UTF-8 lines, I grep'd the logs and
>>> do see that warning in the mythfilldatabse log.
>>>
>>> How do I check the environment of the mythtv user if that user isn't a
>>> login shell user? And/or how would I set those for the mythtv user at boot?
>>>
>>
>> You would need to check the script that starts the mythtv application and,
>> if it doesn't specify one, check the environment of the program that calls
>> the script to start the mythtv application (or that calls the mythtv
>> application directly).
>>
>>
> Running mythbuntu.
> */etc/init/mythtv-backend.conf* has the following lines in it:
> script
> test -f /etc/default/locale && . /etc/default/locale || true
> LANG=$LANG exec /usr/bin/mythbackend --syslog local7 --user mythtv
> --daemon
> end script
> /etc/default/locale has:
> LANG="en_CA.UTF-8"
> So is it safe to change the conf line to:
> LANG=$LANG LC_CTYPE="en_CA.UTF-8" LC_ALL="en_CA.UTF-8" exec
> /usr/bin/mythbackend --syslog local7 --user mythtv --daemon
> And if it is safe, are the quotes needed?
. /etc/default/locale imports the file into the environment. You
should add the extra variables on newlines into that file.
LANG=$LANG seems superfluous to me.
Tot mails,
Hika mailto:hikavdh at gmail.com
"Zonder hoop kun je niet leven
Zonder leven is er geen hoop
Het eeuwige dilemma
Zeker als je hoop moet vernietigen om te kunnen overleven!"
De lerende Mens
More information about the mythtv-users
mailing list