Escape all single-quote characters in PowerShell strings

psSingleQuote doubled only the ASCII apostrophe. PowerShell also ends a single-quoted string on U+2018, U+2019, U+201A and U+201B.

  • Double all five characters in psSingleQuote.
  • Add unit tests for the five characters.

Merge request reports

Loading
Loading