realbasic-nug
[Top] [All Lists]

Re: RB 4.5 Encodings Help?

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: RB 4.5 Encodings Help?
From: Michael Diehr <md03 at xochi dot com>
Date: Mon, 30 Jan 2006 19:53:41 -0800
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <8280DB2A-1AB9-40DB-985D-2838529B2560 at xochi dot com> <2B1BBA26-74F1-4EFA-B652-AD71FE3AA6B0 at athenet dot net> <4A36ED12-557F-4206-BD6C-623063CB80A2 at xochi dot com> <93061452-41E6-422E-AB19-45C2E5EF03FB at athenet dot net> <67EF1C6B-96B0-4243-AEB7-8F13B1FE626E at xochi dot com> <65EC6A71-D626-4ABF-9A7F-29263CF10F6D at athenet dot net> <A245DE1A-71D0-4563-B4B3-043368295B9B at haranbanjo dot com>
On Jan 30, 2006, at 7:20 PM, Will Leshner wrote:


On Jan 30, 2006, at 7:08 PM, Adam Ernst wrote:

Right. Try DefineEncoding(s, Encodings.WindowsLatin1).


Unfortunately, 4.5.3 didn't have DefineEncoding :(


I'm pretty familiar with the concept of encodings, the main problems I'm having trouble with are that RB 4.5 was not very well documented.

I think my problem stems from using the string "=" (equals) operator to do case-insensitive comparisons between string constants in code, and data read from a binary file.

Maybe I can just use Strcmp() in binary mode instead of "="?

I'll do some tests and report back...
_______________________________________________
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>