<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Apr 7, 2015 at 2:35 PM, Michael T. Dean <span dir="ltr"><<a href="mailto:mtdean@thirdcontact.com" target="_blank">mtdean@thirdcontact.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="">On 04/07/2015 02:31 PM, Ian Evans wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Okay, while my environment shows the UTF-8 lines, I grep'd the logs and do see that warning in the mythfilldatabse log.<br>
<br>
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?<br>
</blockquote>
<br></span>
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).<div class=""><div class="h5"><br></div></div></blockquote></div><br></div><div class="gmail_extra">Running mythbuntu.<br><br><b>/etc/init/mythtv-backend.conf</b> has the following lines in it:<br><br>script<br> test -f /etc/default/locale && . /etc/default/locale || true<br> LANG=$LANG exec /usr/bin/mythbackend --syslog local7 --user mythtv --daemon<br>end script<br><br></div><div class="gmail_extra">/etc/default/locale has:<br><br>LANG="en_CA.UTF-8"<br><br></div><div class="gmail_extra">So is it safe to change the conf line to:<br></div><div class="gmail_extra"><br> LANG=$LANG LC_CTYPE="en_CA.UTF-8" LC_ALL="en_CA.UTF-8" exec /usr/bin/mythbackend --syslog local7 --user mythtv --daemon<br><br></div><div class="gmail_extra">And if it is safe, are the quotes needed?<br></div></div>