| 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: | Tue, 31 Jan 2006 13:21:24 -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> <a0620074bc0048e47b2ff at [10 dot 0 dot 1 dot 13]> |
On Jan 30, 2006, at 7:47 PM, Joseph J. Strout wrote: 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 I've lost my printed manual. Does anyone know the exact encodings I need to use? My goal is to take some text (that was entered as string constants in code, using a mac) and convert it to the proper encoding for Windows. All the examples I've seen use 0 for mac and &h500 for windows, but I'm not sure why. _______________________________________________ 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> |
|---|---|---|
| ||
| Previous by Date: | Re: Passing strings to applescript, Asher Dunn |
|---|---|
| Next by Date: | Re: Passing strings to applescript, Stephen A. Cochran Lists |
| Previous by Thread: | Re: RB 4.5 Encodings Help?, Will Leshner |
| Next by Thread: | Re: RB 4.5 Encodings Help?, Michael Diehr |
| Indexes: | [Date] [Thread] [Top] [All Lists] |