Author mark.dickinson
Recipients dzaamek, ezio.melotti, mark.dickinson, vstinner
Date 2014-03-24.19:16:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Indeed: the \u010d is being interpreted by your *C compiler* as a multibyte character, and the individual bytes of that multibyte character end up in the string that you actually pass to Python.  I suspect that the actual bytes you get depend on your locale.  Here I get (signed) bytes -60 and -115.  (See e.g. "translation phase 7" in C99 6.4.5.)

As Victor says, you need to escape the backslash in the C code.
Date User Action Args
2014-03-24 19:16:25mark.dickinsonsetrecipients: + mark.dickinson, vstinner, ezio.melotti, dzaamek
2014-03-24 19:16:25mark.dickinsonsetmessageid: <>
2014-03-24 19:16:25mark.dickinsonlinkissue21051 messages
2014-03-24 19:16:25mark.dickinsoncreate