gettingstarted
[Top] [All Lists]

Re:Option Characters to binary

To: "Getting Started" <gettingstarted at lists dot realsoftware dot com>
Subject: Re:Option Characters to binary
From: "Joseph J. Strout" <joe at realsoftware dot com>
Date: Wed, 19 Nov 2003 08:33:05 -0600
References: <200311180605 dot 1am6uo5fV3NZFl50 at vulture> <3FBB159D dot 9020706 at ix dot netcom dot com>
At 2:02 AM -0500 11/19/03, Peter Gatti wrote:

I went nuts trying to figure out why just a few text strings were screwing-up a binary file. I finally figured out why. It turns out, only those strings that had a meta or option key character in them were the ones responsible.

That doesn't explain why though.

I doubt that I'm doing anything wrong because the other strings save without a problem. So is this a bug or just an RB limitation?

There certainly isn't any such RB limitation. Perhaps it's a limitation of the file format you're using. Without any more details, I really can't guess.

 BTW, what exactly is a Pascal String?

It's a string format typically used with older Mac APIs, generally to represent WorldScript text. The format is a length byte followed by 0 to 255 additional bytes.

Cheers,
- Joe

--
,------------------------------------------------------------------.
|    Joseph J. Strout           REAL Software, Inc.                |
|    joe at realsoftware dot com       http://www.realsoftware.com        |
`------------------------------------------------------------------'

- - -
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>