Was just about to say the same. You beat me to it.
Left you busily typing away in the VPN sign in topic just so I could.
@OP
As an example for Linux: walletpassphrase 'This "has quotes" in it'
and for windows: walletpassphrase "This \"has quotes\" in it"
(not sure about Mac but it is probably as per Linux)