[mythtv-users] Issue with accents in titles and descriptions: Myth or Schedules Direct?

Ian Evans dheianevans at gmail.com
Tue Apr 7 18:46:20 UTC 2015


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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20150407/894f05df/attachment.html>


More information about the mythtv-users mailing list