If you're using 7 bit communication, the 8th bit is undefined and often gets set high. Try masking your received data with 0x7F.
Tim > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Harald > Schneider > Sent: Monday, June 26, 2006 7:26 AM > To: REALbasic NUG > Subject: Serial Communications - Encoding ? > > > Hi, > > I use a Serial control, which collects incoming data via its > DataAvailable() event. The result of .ReadAll() is appended to a > Editbox. The problem: Instead of ASCII Text, I see only squares and > other trash ... > > The sender is a terminal program, connected with a nullmodem cable. > > Both use the same transmisson parameters (baud etc.) > I also tried different encodings without success ... > > Platform RB2006r2, Windows XP. > > Any hints? > > Thanks, > Harald > _______________________________________________ > 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> > > _______________________________________________ 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>
