<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-size:small">On Sat, Nov 30, 2024 at 9:15 PM Doug Moen <<a href="mailto:doug@moens.org">doug@moens.org</a>> wrote:</div></div><div class="gmail_quote gmail_quote_container"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="msg-5872418604924452026"><u></u><div><div>GNU screen has a utf8 setting, which if it is disabled, could cause your problem.<br></div><div>ctrl-A :utf8 on<br></div></div></div></blockquote><div><br></div><div><div style="font-size:small" class="gmail_default">That solves the "wrong editing, and wrong display" problem.</div><div style="font-size:small" class="gmail_default">But the degree sign shows as that place holder question mark</div><div style="font-size:small" class="gmail_default"><br></div><div style="font-size:small" class="gmail_default">Like this:</div><div style="font-size:small" class="gmail_default"><br></div><div style="font-size:small" class="gmail_default">abcdefg "�C" 134567890</div></div><div><br></div><div style="font-size:small" class="gmail_default">I added these 2 lines to my .screenrc to make that permanent<br><div class="gmail_quote gmail_quote_container"><br></div><div class="gmail_quote gmail_quote_container"><div style="font-size:small" class="gmail_default">defutf8 on<br>utf8 on on</div><div style="font-size:small" class="gmail_default"><br></div><div style="font-size:small" class="gmail_default">But not seeing the special character is wrong. <br></div><div style="font-size:small" class="gmail_default"><br></div></div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="msg-5872418604924452026"><div><div></div><div>What happens if you don't use screen? Just ssh into the remote host and use vim.<br></div></div></div></blockquote><div><br></div><div style="font-size:small" class="gmail_default">Direct ssh to the host, without screen in between, works fine.</div><div style="font-size:small" class="gmail_default">So it is screen that is causing this. <br></div><div style="font-size:small" class="gmail_default"><br>And they cause the question mark thing above. <br></div><br></div></div>