realbasic-nug
[Top] [All Lists]

Re: TextEncoding question

To: "REALbasic Network Users Group" <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: TextEncoding question
From: "Joseph J. Strout" <joe at realsoftware dot com>
Date: Sun, 29 Feb 2004 07:50:59 -0600
References: <20040228000221 dot 0749D2C0012C at mwinf0201 dot wanadoo dot fr> <40406259 dot 4070205 at wanadoo dot fr>
At 10:41 AM +0100 2/28/04, Emile Schwarz wrote:

In my - very - limited TextEncoding knowledge, when I build a string using +, the newly 'created' string is defined as UTF-8.

In some circumstances, yes. (But if for example you're adding two MacRoman strings, or a MacRoman and an ASCII string, then the result is MacRoman.)

If the above assumption is right, why did I care about the encoding of my text ?

I wonder that too.  :)

Knowing the internal working of something can be a good advantage, but then we fall into 'non documented' trap ('non documented' = no guaranties to stay the same in next versions).

Only if you're relying on the undocumented behavior.

Cheers,
- Joe

--

REAL World 2004, The REALbasic User Conference, March 24th-26th
<http://www.realsoftware.com/realworld/index.html>

- - -
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>

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

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