Interesting, thanks ..... I think I ran into this before. WIll double check
to default to text mode.

On Thu, Oct 31, 2024 at 2:42 PM Bob Sneidar via use-livecode <
use-livecode@lists.runrev.com> wrote:

> I want to give everyone a heads up. I created a handler to convert a
> Konica address book to a Toshiba one. First I open the Konica address book
> using binary read. But for some reason itemOffset was not working, and
> neither did “contains”. I couldn’t figure it out until I copy/pasted a line
> of the binary data into the message box, and then tried to backspace to
> shorten the line (thinking it might be too long). To my surprise, I had to
> backspace twice for every character, leading me to believe the file might
> be UTF-16!
>
> I used open file filename for read (without the binary) and all is well. I
> guess the moral of the story is, if you don’t *have* to open binary, don’t.
>
> Bob S
>
> _______________________________________________
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
  • Read Binary heads up Bob Sneidar via use-livecode
    • Re: Read Binary heads up Tom Glod via use-livecode

Reply via email to