<div dir="ltr"><div class="gmail_default" style="font-family:garamond,serif">Here's a decent enough starting point for doing Unicode in emacs.<br><br><a href="http://www.emacswiki.org/emacs/UnicodeEncoding">http://www.emacswiki.org/emacs/UnicodeEncoding</a><br>
</div></div><div class="gmail_extra"><br clear="all"><div>Kris Browne<br><a href="mailto:kris.browne@gmail.com">kris.browne@gmail.com</a><br>612-353-6969<br>612-408-4431<br><a href="http://www.google.com/profiles/kris.browne">http://www.google.com/profiles/kris.browne</a><br>
<br>"the least expensive, most bug-free line of code is the one you didn't have to write." - Steve Jobs</div>
<br><br><div class="gmail_quote">On Sun, Jan 5, 2014 at 9:27 PM, Mike Miller <span dir="ltr"><<a href="mailto:mbmiller+l@gmail.com" target="_blank">mbmiller+l@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
It was bugging me that on Facebook, if I typed something like -20°F, the line might wrap between the minus and the 20. Then I read in Wikipedia that there is a minus sign, different from the hyphen:<br>
<br>
<a href="http://en.wikipedia.org/wiki/Plus_and_minus_signs#Minus_sign" target="_blank">http://en.wikipedia.org/wiki/<u></u>Plus_and_minus_signs#Minus_<u></u>sign</a><br>
<br>
Copying/pasting that solved my problem, but that created the new problem that I want to be able to type the minus without having to go to Wikipedia to copy/paste it.<br>
<br>
That's when I found out that I can type any UTF character by first hitting ctrl-shift-u, then typing the number, then hitting space. The minus is #2212, so this does the trick:<br>
<br>
ctrl-shift-u<br>
2212<br>
space<br>
<br>
Alternatively, I can hold down the ctrl-shift while typing the numbers, instead of releasing after the u, and then the UTF character appears when I release ctrl-shift and I don't have to hit the space.<br>
<br>
That doesn't work in every program, though. It worked in my browsers on Ubuntu, but I don't even know if it works outside of Ubuntu. I don't know how to use it in Emacs.<br>
<br>
There are UTF characters for °C (#2103) and °F (#2109):<br>
<br>
−40 ℃ = −40 ℉<br>
<br>
They don't look so great in some fonts, though.<br>
<br>
Anyway, I thought some of you would be interested in that trick. I hadn't heard of it before, but I could be the last one. ;-)<span class="HOEnZb"><font color="#888888"><br>
<br>
Mike</font></span><br>_______________________________________________<br>
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota<br>
<a href="mailto:tclug-list@mn-linux.org">tclug-list@mn-linux.org</a><br>
<a href="http://mailman.mn-linux.org/mailman/listinfo/tclug-list" target="_blank">http://mailman.mn-linux.org/mailman/listinfo/tclug-list</a><br>
<br></blockquote></div><br></div>