MacOSX 10.4.6, RB2006r1

when REALSQLdatabase.SQLExecute returns an error, the Encoding of REALSQLdatabase.ErrorMessage is *nil*.

if we concatenate this message with an encoded string, we lose the encoding (and display is screwed up).

any one can confirm? do i have to report this as a bug?


<workaround>
  if Encoding(db.ErrorMessage) = nil then
    showError = db.ErrorMessage.DefineEncoding(Encodings.ASCII)
  else
    showError = db.ErrorMessage.ConvertEncoding(Encodings.ASCII)
  end if
</workaround>


Réal Martineau


_______________________________________________
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>

Reply via email to