Folks,
Jeanne's suggestion worked for the primary problem. I ran ISOToMac and all
my buttons now appear correctly.
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
Is there something wrong with my script? If not, then is there any way to
get RunRev on Windows to use Mac-encoded text in a field, or will it always
automagically turn it to Windows encoding?
Steve Setzer
> ------------------------------
>
> Message: 17
> Date: Wed, 25 Aug 2004 23:51:34 -0700
> From: "Jeanne A. E. DeVoto" <[EMAIL PROTECTED]>
> Subject: Re: Mac to Windows -- maybe text encoding
> To: How to use Revolution <[EMAIL PROTECTED]>
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset="us-ascii" ; format="flowed"
>
> At 11:08 PM -0600 8/25/2004, Steve and Lee Ann Setzer wrote:
>> (E) I do all my work on a Mac running OS X, but I have access to RunRev for
>> Windows and a decent Windows 2000 PC.
>> (F) The games involve buttons that have IPA characters in their names
>> (Inspector-->Text Formatting-->Font-->IPAPhon Roman)
>> (G) When I move the stack to Windows, many of the button names show the
>> wrong character, either a rectangle or just a different letter/glyph.
>
> Try the macToISO function:
>
> set the name of button 1 to macToISO(the name of button 1)
>
> This function (and the companion function ISOToMac) converts between
> the Mac and Windows character sets. (Field text is converted
> automatically when you move between platforms, but object names
> aren't.)
> --
> jeanne a. e. devoto ~ [EMAIL PROTECTED]
> http://www.jaedworks.com
>
> ------------------------------
_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution