Script Editor and Unicode
Mark Schonewille
m.schonewille at economy-x-talk.com
Fri Jun 28 14:24:33 EDT 2013
Hi Richmond,
Almost every current development tool can do that, except for LiveCode.
What we need is a UTF8 script editor.
--
Best regards,
Mark Schonewille
Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553
Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other
colour spaces. http://www.color-converter.com
Buy my new book "Programming LiveCode for the Real Beginner"
http://qery.us/3fi
Fill out this survey please
http://livecodebeginner.economy-x-talk.com/survey/
On 6/28/2013 20:10, Richmond wrote:
> I wonder how one can enter unicodeText directly into the script editor?
>
> When one wants to put a script into an object without opening the script
> editor one does this sort of thing:
>
> set the script of btn "unicodeTest" to fld "Nonsense"
>
> now, if fld "nonsense" contains unicodeText that just ends up delivering
> gobbledegook.
>
> this:
>
> set the useUnicode to true
> set the script of btn "unicodeTest" to fld "Nonsense"
>
> is no better . . .
>
> the reason for this, presumably, is that when one enters unicodeText
> into a fld the
>
> set the useUnicode to true is directly addressed to the fld, while in
> my rather feeble attempt above it is aimed at the script rather than the
> script entry field of
> the script editor
>
> if one tries this sort of thing:
>
> set the useUnicode to true
> set the unicodeText of fld "Scripts" of the script of btn "unicodeTest"
> to fld "Nonsense"
>
> an error is thrown.
>
> Richmond.
>
More information about the use-livecode
mailing list