TextArea without Smart Quotes

How can I set up a text area so smart quotes are not used? The problem is that when using XojoScript, it doesn’t recognize smart quotes but is only accepting Chr(34) as a valid quote character. Text Areas return Chr(8220) and Chr(8221). Obviously, that’s all part of UTF8.

If you doubt me go and run Xojo’s XojoScript example. Replace their Print “Hello World” line with your own string in quotes and see it crash.

Obviously, I can use ReplaceAll to fix this in code, but I’d like to know how I can just make it a plain ASCII text area…

It’s a feature of the underlying NSTextView… see https://forum.xojo.com/18439-how-to-prevent-smart-quotes-from-being-entered-into-a-textarea/0

Perfect. Thank you.