In your example value in the symbol is not trailing spaces but we are trying to preserve the end spaces by some wrapper.
so following 2 inserts are same:
`gg insert(`$"\"vv \"") /I believe this one is same as `gg insert(`$.Q.s"vv ")
`gg insert(`$"$vv $") / This one adds $ as a wrapper for spaces.
As you rightly said that above will have affect on value because i have to remember what are starting and closing characters.
The question i posted was having trailing spaces in a symbol without any escape sequence. The actual symbol value was having spaces in the end. I dont know if it is possible or not or i am not understanding correctly.
What i have done currently is my application is that when i insert, i just trim the value and keep it symbol because there will be lot if duplicate values. Just wanted to avoid trim for every column that is inserted as symbol.