realbasic-plugins
[Top] [All Lists]

Encodings (in view of MacRoman)

To: REALbasic Plugins <realbasic-plugins at lists dot realsoftware dot com>
Subject: Encodings (in view of MacRoman)
From: "Theodore H.Smith" <delete at elfdata dot com>
Date: Mon, 20 Dec 2004 17:30:53 +0000
Delivered-to: realbasic-plugins at lists dot realsoftware dot com
I suppose that the encoding number system that RB uses, isn't necessarily useable outside of the RB world?

I know that RB's internal encoding numbers, are basically the same numbers that Apple uses for it's TextEncoding library.

But what about on Windows, and Linux? I'd be surprised if the Windows number for MacRoman, is "0"!

I was hoping that 0 would be the encoding number for binary/unknown encoding, but this isn't so.

I seem to recall US_ASCII being recommended as the binary encoding, but that doesn't quite make sense either.

I think I'll just make a "safe appending" function inside my RB code (not in the ElfData plugin).

--
   Theodore H. Smith - Software Developer - www.elfdata.com/plugin/
   Industrial strength string processing code, made easy.
   (If you believe that's an oxymoron, see for yourself.)

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

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

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