realbasic-nug
[Top] [All Lists]

Re: Mail Text Encoding

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Mail Text Encoding
From: "Joseph J. Strout" <joe at realsoftware dot com>
Date: Sat, 31 Jul 2004 09:44:32 -0500
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <C4345252-E2FC-11D8-A520-003065E4350E at xhtmlsoft dot com>
At 4:20 PM +0200 7/31/04, Sven E Olsson wrote:

So I try this...

newString = DefineEncoding(originalString,Encodings.XXXXX)

Ow -- unless originalString is something whose encoding is not defined or incorrectly defined, you should not be calling DefineEncoding on it. Doing so will at best, do nothing, at at worst, lie to RB about what encoding the string is. :) I think you meant to use the ConvertEncoding function.

Best,
- Joe

--
,------------------------------------------------------------------.
|    Joseph J. Strout           REAL Software, Inc.                |
|    joe at realsoftware dot com       http://www.realsoftware.com        |
`------------------------------------------------------------------'
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

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

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