Mac to Windows -- maybe text encoding
Jeanne A. E. DeVoto
revolution at jaedworks.com
Tue Aug 31 01:37:19 EDT 2004
At 11:53 PM -0600 8/26/2004, Steve and Lee Ann Setzer wrote:
>However, part of my game logic compares the button name to text stored in a
>field. So, I need to also get the text in the field back into Mac encoding
>even when running on Windows. I tried the following script but it didn't
>seem to change things:
>
>repeat with countVar = 1 to the number of fields
> get field countVar
> put ISOToMac(it) into field countVar
>end repeat
Hmmm, this should work. (But are you perhaps doing the conversion
twice? That is, if you've converted the button name to ISO, you don't
need to convert the field text too - everything is now in the Windows
character set.)
--
jeanne a. e. devoto ~ revolution at jaedworks.com
http://www.jaedworks.com
More information about the use-livecode
mailing list