There&#39;s something else going on here.<div>If I ssh into the server and type locale at a prompt everything comes back &quot;en_US.UTF-8&quot;.</div><div>If I do &#39;ssh servername locale&#39; it all comes back &quot;POSIX&quot;.</div>

<div>-Andy<br><br>On Tuesday, April 10, 2012, Daniele Sluijters  wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                <div>
                    Hey,</div><div><br></div><div>First look up the locales on your system:</div><div>locale -a | grep &quot;en_&quot;  should give you a few entries, including en_US.UTF-8</div><div><br></div><div>and / or change the line in /etc/locale.gem</div>

<div><a href="http://www.gentoo.org/doc/en/guide-localization.xml#doc_chap3" target="_blank">http://www.gentoo.org/doc/en/guide-localization.xml#doc_chap3</a></div><div><br></div><div>To affect / force a bash-session you can add this to your ~/.bashrc:</div>

<div>export LC_CTYPE=en_US.UTF-8</div><div>and if you want to affect the system language as well:</div><div>export LANG=en_US.UTF-8</div>
                <div><div><br></div><div>(this all assumes you want en_US.UTF-8 as your locale, I use en_GB.UTF-8 for example because of the &#39;s&#39; versus &#39;z&#39; thing)</div><div><br></div><div>-- </div><div>Daniele Sluijters</div>

<div><br></div></div>
                 
                <p style="color:#a0a0a8">On Tuesday, April 10, 2012 at 20:16 , Andrew Kraut wrote:</p>
                <blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px">
                    <span><div><div><div style="line-height:17px;font-size:13px"><font face="&#39;courier new&#39;, monospace">MacMini$ locale</font></div><div style="line-height:17px;font-size:13px">
<font face="&#39;courier new&#39;, monospace">LANG=&quot;en_US.UTF-8&quot;</font></div><div style="line-height:17px;font-size:13px"><font face="&#39;courier new&#39;, monospace">LC_COLLATE=&quot;en_US.UTF-8&quot;</font></div>


<div style="line-height:17px;font-size:13px"><font face="&#39;courier new&#39;, monospace">LC_CTYPE=&quot;en_US.UTF-8&quot;</font></div><div style="line-height:17px;font-size:13px">
<font face="&#39;courier new&#39;, monospace">LC_MESSAGES=&quot;en_US.UTF-8&quot;</font></div><div style="line-height:17px;font-size:13px"><font face="&#39;courier new&#39;, monospace">LC_MONETARY=&quot;en_US.UTF-8&quot;</font></div>


<div style="line-height:17px;font-size:13px"><font face="&#39;courier new&#39;, monospace">LC_NUMERIC=&quot;en_US.UTF-8&quot;</font></div><div style="line-height:17px;font-size:13px">
<font face="&#39;courier new&#39;, monospace">LC_TIME=&quot;en_US.UTF-8&quot;</font></div><div style="line-height:17px;font-size:13px"><font face="&#39;courier new&#39;, monospace">LC_ALL=</font></div>
<div style="line-height:17px;font-size:13px"><font face="&#39;courier new&#39;, monospace">MacMini$ ssh servername locale</font></div><div style="line-height:17px;font-size:13px">
<font face="&#39;courier new&#39;, monospace">LANG=</font></div><div style="line-height:17px;font-size:13px"><font face="&#39;courier new&#39;, monospace">LC_CTYPE=&quot;POSIX&quot;</font></div>
<div style="line-height:17px;font-size:13px"><font face="&#39;courier new&#39;, monospace">LC_NUMERIC=&quot;POSIX&quot;</font></div><div style="line-height:17px;font-size:13px">
<font face="&#39;courier new&#39;, monospace">LC_TIME=&quot;POSIX&quot;</font></div><div style="line-height:17px;font-size:13px"><font face="&#39;courier new&#39;, monospace">LC_COLLATE=&quot;POSIX&quot;</font></div>
<div style="line-height:17px;font-size:13px"><font face="&#39;courier new&#39;, monospace">LC_MONETARY=&quot;POSIX&quot;</font></div><div style="line-height:17px;font-size:13px">
<font face="&#39;courier new&#39;, monospace">LC_MESSAGES=&quot;POSIX&quot;</font></div><div style="line-height:17px;font-size:13px"><font face="&#39;courier new&#39;, monospace">LC_PAPER=&quot;POSIX&quot;</font></div>
<div style="line-height:17px;font-size:13px"><font face="&#39;courier new&#39;, monospace">LC_NAME=&quot;POSIX&quot;</font></div><div style="line-height:17px;font-size:13px">
<font face="&#39;courier new&#39;, monospace">LC_ADDRESS=&quot;POSIX&quot;</font></div><div style="line-height:17px;font-size:13px"><font face="&#39;courier new&#39;, monospace">LC_TELEPHONE=&quot;POSIX&quot;</font></div>


<div style="line-height:17px;font-size:13px"><font face="&#39;courier new&#39;, monospace">LC_MEASUREMENT=&quot;POSIX&quot;</font></div><div style="line-height:17px;font-size:13px">
<font face="&#39;courier new&#39;, monospace">LC_IDENTIFICATION=&quot;POSIX&quot;</font></div><div style="line-height:17px;font-size:13px"><font face="&#39;courier new&#39;, monospace">LC_ALL=</font></div>
<div style="line-height:17px;font-size:13px"><br></div><span style="line-height:17px;font-size:13px">Looks like I need to make Gentoo set it&#39;s locale properly?</span><div style="line-height:17px;font-size:13px">
-Andy</div><br>On Tuesday, April 10, 2012, Daniele Sluijters  wrote:<br><blockquote type="cite"><div>
                <div>
                    Hey,
                </div><div><br></div><div>Can you post the outputs of the `locale` command on both your machine and the remote machine you&#39;re connecting too (as the user you&#39;re connecting as).</div><div><br></div>


<div>You might need to install a packages such as &#39;locales&#39; on Debian, OS X comes equipped with it.</div><div><br></div><div><div>-- </div><div>Daniele Sluijters</div><div><br></div></div>
                  
                <p style="color:#a0a0a8">On Tuesday, April 10, 2012 at 19:10 , Andrew Kraut wrote:</p><blockquote type="cite"><div>
                    <span><div><div>When I do &#39;mosh servername&#39; to connect to my gentoo server I see:<div><div><font face="&#39;courier new&#39;, monospace">$ mosh <a href="http://l.opie.at" target="_blank">l.opie.at</a></font></div>


<div><font face="&#39;courier new&#39;, monospace">mosh requires a UTF-8 locale.</font></div>
<div><font face="&#39;courier new&#39;, monospace">Connection to servername closed.</font></div><div><font face="&#39;courier new&#39;, monospace">/usr/bin/mosh: Did not find mosh server startup message.</font></div><div>



<font face="&#39;courier new&#39;, monospace">$</font></div></div><div><font face="&#39;courier new&#39;, monospace"><br></font></div><div><font face="arial, sans-serif">But if I manually start mosh</font></div></div></div>

</span></div></blockquote></div></blockquote></div></div></span></blockquote></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>