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.
Asked
Active
Viewed 102 times
0
1 Answers
1
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".)

Kusalananda
- 333,661
s//
to change one emoji to another on the current line usinged
, or using smart quotes etc. If you just have a way of entering these special characters (which is not somethinged
will help you with),ed
will accept them. Please describe your issue in a bit more detail. – Kusalananda Jun 06 '22 at 07:55