Replacing the quote character

Jim Ault jimaultwins at yahoo.com
Mon Aug 8 21:42:54 EDT 2011


The ascii number will depend on the font you are using.
Some fonts do not use high ascii for curly quotes, so char 210 looks like something else, especially a font like Wingdings.

Another caution when using the reserved word 'quote' in LC...
  put word 2 of dataString -- will only work for straight quotes, not curly quotes.

Jim Ault
Las Vegas

--- On Mon, 8/8/11, James Hurley <jhurley0305 at sbcglobal.net> wrote:

From: James Hurley <jhurley0305 at sbcglobal.net>
Subject: Re: Replacing the quote character
To: use-livecode at lists.runrev.com
Date: Monday, August 8, 2011, 4:57 PM

I discovered I have the MS curly quotes. This is what works for these:

replace numToChar(210) with "#" in tList
replace numToChar(211) with "#" in tList

Thanks Mike and Jerry.

Jim Hurley

_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode



More information about the Use-livecode mailing list