Typing unicode characters into ed
I wondered if it was possible to type Unicode characters like an em_dash and curly quotes into ed. I am completing a project that requires these special characters in the document.
When in user input mode, the
ed editor takes the input from the user the way it is given. The editor does not provide any method of entering special glyphs but will accept these if the user generates them as input.
So, if the window environment, or some other application, allows you to input "smart quotes" conveniently,
ed will gracefully insert these into the document.
Possibly also of relevance:
- What are curly quotes and can I use them in my code? (the accepted answer deals with generating "smart quotes".)