<div dir="ltr"><div class="gmail_default" style="font-size:large">1. My code does not directly interact with any environment variables.<br></div><div class="gmail_default" style="font-size:large">2. I am using version 2.6.4 to compile the daemon.</div><div class="gmail_default" style="font-size:large"><br></div><div class="gmail_default" style="font-size:large">my .service file for systemctl looks like:</div><div class="gmail_default" style="font-size:large"><br></div><div class="gmail_default" style="font-size:large">[Unit]<br>Description=The Modern Pascal Code Running Socket Server<br>After=network.target<br><br>[Service]<br>Type=simple<br>PIDFile=/run/coderunner2.pid<br>EnvironmentFile=-/etc/coderunner2.conf<br>ExecStartPre=/usr/bin/rm -f /run/coderunner2.pid<br>ExecStart=/usr/local/bin/coderunner2<br>ExecReload=/bin/kill -s HUP $MAINPID<br>KillSignal=SIGQUIT<br>TimeoutStopSec=5<br>KillMode=process<br>PrivateTmp=true<br>Restart=on-failure<br>RestartSec=42s<br>StandardOutput=null<br><br>[Install]<br>WantedBy=multi-user.target</div><div class="gmail_default" style="font-size:large"><br></div><div class="gmail_default" style="font-size:large">3. I do not see anything in that file that would override socket output.</div><div class="gmail_default" style="font-size:large">4. And again, if I to /usr/local/bin/coderunner2 from the shell, the client see's the 8bit code.</div><div class="gmail_default" style="font-size:large">5. per wireshark, tcpdump (if the same) - it shows '?' is being sent when the daemon is managed by systemctl, and the expected 8bit is sent when ran at the shell prompt.</div><div class="gmail_default" style="font-size:large"><br></div><div class="gmail_default" style="font-size:large">6. So, the thought of LANG/LOCALE affecting it, from the shell:<br>[root@www LEGACYX]# echo $LANG<br>en_US<br>[root@www LEGACYX]# echo $LOCALE<br><br></div><div class="gmail_default" style="font-size:large">6b. Not sure how to do that except have my daemon display those two at connect time...</div><div class="gmail_default" style="font-size:large">7. CentOS 7, dropped using init.d for systemctl - on my CentOS 6 machine, it works perfectly...</div><div class="gmail_default" style="font-size:large"><br></div><div class="gmail_default" style="font-size:large">8... does socket.pp get affected at RUN-TIME, by environment variables? (did not notice my first pass through)...<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jan 29, 2020 at 8:43 AM <<a href="mailto:wkitty42@windstream.net">wkitty42@windstream.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 1/29/20 8:54 AM, Ozz Nixon via fpc-devel wrote:<br>
> Would/Could, LANG/LOCALE affect socket output?<br>
<br>
<br>
wouldn't they affect what the server decides to transmit based on the selected <br>
"character set"?<br>
<br>
<br>
-- <br>
  NOTE: No off-list assistance is given without prior approval.<br>
        *Please keep mailing list traffic on the list where it belongs!*<br>
_______________________________________________<br>
fpc-devel maillist  -  <a href="mailto:fpc-devel@lists.freepascal.org" target="_blank">fpc-devel@lists.freepascal.org</a><br>
<a href="https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel" rel="noreferrer" target="_blank">https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel</a><br>
</blockquote></div>