Message214713
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:25 | mark.dickinson | set | recipients:
+ mark.dickinson, vstinner, ezio.melotti, dzaamek |
2014-03-24 19:16:25 | mark.dickinson | set | messageid: <1395688585.75.0.148821738135.issue21051@psf.upfronthosting.co.za> |
2014-03-24 19:16:25 | mark.dickinson | link | issue21051 messages |
2014-03-24 19:16:25 | mark.dickinson | create | |
|