This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jjanis
Recipients jjanis
Date 2012-06-06.14:47:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1338994065.34.0.987983176333.issue15019@psf.upfronthosting.co.za>
In-reply-to
Content
test = "Hi there :)"
    print len(test), test // Prints "11 Hi there :)"
    test = test.replace(" ", "\x00")
    print len(test), test // Prints "11 

On Windows '\x00' is same as ' ', but on linux string is terminated at first occurance of '\x00'. Results on problems with pySerial and binary data, so I can't replace '\x00' with ' '.
History
Date User Action Args
2012-06-06 14:47:45jjanissetrecipients: + jjanis
2012-06-06 14:47:45jjanissetmessageid: <1338994065.34.0.987983176333.issue15019@psf.upfronthosting.co.za>
2012-06-06 14:47:44jjanislinkissue15019 messages
2012-06-06 14:47:44jjaniscreate