There's something else going on here.<div>If I ssh into the server and type locale at a prompt everything comes back "en_US.UTF-8".</div><div>If I do 'ssh servername locale' it all comes back "POSIX".</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 "en_" 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 's' versus 'z' 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="'courier new', monospace">MacMini$ locale</font></div><div style="line-height:17px;font-size:13px">
<font face="'courier new', monospace">LANG="en_US.UTF-8"</font></div><div style="line-height:17px;font-size:13px"><font face="'courier new', monospace">LC_COLLATE="en_US.UTF-8"</font></div>
<div style="line-height:17px;font-size:13px"><font face="'courier new', monospace">LC_CTYPE="en_US.UTF-8"</font></div><div style="line-height:17px;font-size:13px">
<font face="'courier new', monospace">LC_MESSAGES="en_US.UTF-8"</font></div><div style="line-height:17px;font-size:13px"><font face="'courier new', monospace">LC_MONETARY="en_US.UTF-8"</font></div>
<div style="line-height:17px;font-size:13px"><font face="'courier new', monospace">LC_NUMERIC="en_US.UTF-8"</font></div><div style="line-height:17px;font-size:13px">
<font face="'courier new', monospace">LC_TIME="en_US.UTF-8"</font></div><div style="line-height:17px;font-size:13px"><font face="'courier new', monospace">LC_ALL=</font></div>
<div style="line-height:17px;font-size:13px"><font face="'courier new', monospace">MacMini$ ssh servername locale</font></div><div style="line-height:17px;font-size:13px">
<font face="'courier new', monospace">LANG=</font></div><div style="line-height:17px;font-size:13px"><font face="'courier new', monospace">LC_CTYPE="POSIX"</font></div>
<div style="line-height:17px;font-size:13px"><font face="'courier new', monospace">LC_NUMERIC="POSIX"</font></div><div style="line-height:17px;font-size:13px">
<font face="'courier new', monospace">LC_TIME="POSIX"</font></div><div style="line-height:17px;font-size:13px"><font face="'courier new', monospace">LC_COLLATE="POSIX"</font></div>
<div style="line-height:17px;font-size:13px"><font face="'courier new', monospace">LC_MONETARY="POSIX"</font></div><div style="line-height:17px;font-size:13px">
<font face="'courier new', monospace">LC_MESSAGES="POSIX"</font></div><div style="line-height:17px;font-size:13px"><font face="'courier new', monospace">LC_PAPER="POSIX"</font></div>
<div style="line-height:17px;font-size:13px"><font face="'courier new', monospace">LC_NAME="POSIX"</font></div><div style="line-height:17px;font-size:13px">
<font face="'courier new', monospace">LC_ADDRESS="POSIX"</font></div><div style="line-height:17px;font-size:13px"><font face="'courier new', monospace">LC_TELEPHONE="POSIX"</font></div>
<div style="line-height:17px;font-size:13px"><font face="'courier new', monospace">LC_MEASUREMENT="POSIX"</font></div><div style="line-height:17px;font-size:13px">
<font face="'courier new', monospace">LC_IDENTIFICATION="POSIX"</font></div><div style="line-height:17px;font-size:13px"><font face="'courier new', 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'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're connecting too (as the user you're connecting as).</div><div><br></div>
<div>You might need to install a packages such as 'locales' 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 'mosh servername' to connect to my gentoo server I see:<div><div><font face="'courier new', monospace">$ mosh <a href="http://l.opie.at" target="_blank">l.opie.at</a></font></div>
<div><font face="'courier new', monospace">mosh requires a UTF-8 locale.</font></div>
<div><font face="'courier new', monospace">Connection to servername closed.</font></div><div><font face="'courier new', monospace">/usr/bin/mosh: Did not find mosh server startup message.</font></div><div>
<font face="'courier new', monospace">$</font></div></div><div><font face="'courier new', 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>