@UQUOTES
— Replaces ASCII
apostrophes and quote marks with Unicode open and close quotes.
Syntax:
%@UQUOTES[
text]
text | English text containing apostrophes or quotation marks |
Generic ASCII apostrophes ( ' ) and quote marks ( " ) in text will be replaced with Unicode open and close quote marks ( ‘ ’ and “ ” ). Also, any doubled hyphens will be replaced with em dashes.
The modified string may or may not look different from the original, depending on how you use it and the font used to display it. If it is redirected to a file and //UnicodeOutput=No, then the fancy Unicode quotes will be smashed right back into ASCII. (Worse yet, under some versions of Windows the Unicode single open-quote character may be mangled to a grave accent….) If the modified string is ECHOed to the console and the console font doesn’t support the relevant Unicode characters, then again the Unicode quotes may be lost. In Take Command, curly quotes must be supported by both the tab-window font (Options / Configure Take Command / Tabs / Font) and also the underlying console window (detach a tab to check this).
echo %@uquotes["Never use a GUI to do a shell's work!" said Tom commandingly.]
You can set some environment variables to control this feature.