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: "Joseph J. Strout" <joe at strout dot net>
Date: Mon, 30 Jan 2006 20:47:45 -0700
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>
At 7:20 PM -0800 1/30/06, Will Leshner wrote:

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

Unfortunately, 4.5.3 didn't have DefineEncoding :(

But you can make it yourself -- just make a TextConverter whose source and destination encodings are both the one you want to define it as, then run your string through it.

Best,
- Joe

--

Joseph J. Strout
joe at strout dot net
_______________________________________________
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>