Well, after digging around the Gentoo docs, I know I&#39;m setting the locale systemwide to &quot;en_US.UTF-8&quot; but when I login non-interactively it doesn&#39;t use those settings. For now, I&#39;ve just exported LANG= in my ~/.bashrc but it seems like there should be a better way to set that system-wide.<div>
-Andy<br><br>On Tuesday, April 10, 2012, Axel Beckert  wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
On Tue, Apr 10, 2012 at 12:00:42PM -0700, Andrew Kraut wrote:<br>
&gt; There&#39;s something else going on here.<br>
&gt; If I ssh into the server and type locale at a prompt everything comes back<br>
&gt; &quot;en_US.UTF-8&quot;.<br>
&gt; If I do &#39;ssh servername locale&#39; it all comes back &quot;POSIX&quot;.<br>
<br>
Another possibility is that the language setting are done in your<br>
.profile, .bashrc, .zshrc, etc.<br>
<br>
All servers where this happened to me, the default locale on the<br>
server wasn&#39;t an UTF-8 one. &quot;dpkg-reconfigure -plow locale&quot; as root on<br>
the server and choosing an UTF-8 locale as default helped in all my<br>
cases. (Took that as a reason to finally migrate all my boxes to UTF-8<br>
defaults. :-)<br>
<br>
HTH.<br>
<br>
                Kind regards, Axel<br>
--<br>
/~\  Plain Text Ribbon Campaign                   | Axel Beckert<br>
\ /  Say No to HTML in E-Mail and News            | <a href="javascript:;" onclick="_e(event, &#39;cvml&#39;, &#39;abe@deuxchevaux.org&#39;)">abe@deuxchevaux.org</a>  (Mail)<br>
 X   See <a href="http://www.asciiribbon.org/" target="_blank">http://www.asciiribbon.org/</a>              | <a href="javascript:;" onclick="_e(event, &#39;cvml&#39;, &#39;abe@noone.org&#39;)">abe@noone.org</a> (Mail+Jabber)<br>

/ \  I love long mails: <a href="http://email.is-not-s.ms/" target="_blank">http://email.is-not-s.ms/</a> | <a href="http://noone.org/abe/" target="_blank">http://noone.org/abe/</a> (Web)<br>
_______________________________________________<br>
mosh-users mailing list<br>
<a href="javascript:;" onclick="_e(event, &#39;cvml&#39;, &#39;mosh-users@mit.edu&#39;)">mosh-users@mit.edu</a><br>
<a href="http://mailman.mit.edu/mailman/listinfo/mosh-users" target="_blank">http://mailman.mit.edu/mailman/listinfo/mosh-users</a><br>
</blockquote></div><br><br>-- <br>Andrew Kraut<br>Cell: +1 (309) 807-5858<br>K9OPQ<div><br><div>I strongly dislike typos. If I sent one, go here to cash in: <a href="http://bit.ly/aHeKU4" target="_blank">http://bit.ly/aHeKU4</a></div>
</div><br>