test
with BBEdit Lite for OSX create a textfile with high asciis
There's no such thing as "high ASCIIs". ASCII characters only lie
between 0 and 127. Anything above that is not ASCII, and can only be
interpreted by knowing what encoding the text has.
Since this is BBEdit Lite we're talking about (which doesn't know
diddly about Unicode), I'm guessing your file is MacRoman.
then read it with RB 5.5. Mac OSX
you"ll have garbage and you'll able to do nothing
You need to tell RB what encoding the text has. If you're reading it
with a TextInputStream, set its Encoding property to
Encodings.MacRoman. Or you can apply an encoding after the fact
using:
s = s.DefineEncoding(Encodings.MacRoman)
--
-Thomas
Personal web page: http://homepage.mac.com/thomasareed/
My shareware: http://www.bitjuggler.com/
REALbasic page: http://www.bitjuggler.com/extra/
There are 10 kinds of people in the world -- those who understand binary
numbers and those who don't.
- - -
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|