After a  day's reflection, my understanding is that you can use the literal UTF-8 character &#8212; instead of the character entity, if your editor allows you to do so. Apparently, also, this is less of a big deal than it used to be.