Set parity of a string

snacktime snacktime at gmail.com
Wed Jan 26 14:55:43 EST 2005


Correction on this, ETX is ok, it seems to be just STX with the data I am using.

Chris


On Wed, 26 Jan 2005 11:50:46 -0800, snacktime <snacktime at gmail.com> wrote:
> I'm trying to figure out why the following code transforms ascii STX
> (control-b) into "\x82".  The perl module I use returns a value of
> "^B", and that is also what the application I am communicating with
> expects to see.  Some ascii characters such as FS and GS come through
> fine, but STX and ETX get transformed incorrectly (at least for what I
> need they do).



More information about the Python-list mailing list