Four Js Development Tools Forum

General => Ask Reuben => Topic started by: Reuben B. on December 21, 2023, 05:26:28 am



Title: Ask Reuben 208 - Smart Quotes
Post by: Reuben B. on December 21, 2023, 05:26:28 am
Smart Quotes were something that I first encountered in the early days of the Genero Desktop Client.  Issues were being reported after users pasted text into a TEXTEDIT.  The issue can occur with EDIT, BUTTONEDIT as well but is more likely to occur with the TEXTEDIT as users are more likely to paste large blocks of text as opposed to a single word.  Upon investigation it was discovered that the text users were copying and pasting into the TEXTEDIT widget contained what are known as “smart quotes”.
 
These days the more typical place to encounter the issue is with code editors.  Someone will type some code outside a code editor and not realise that smart quotes have been added.  Then when they copy and paste the code into Genero Studio they get an error as the compiler is only expecting to see single, double, or back quotes.

Read more at https://4js.com/ask-reuben/ig-208/