Timeline for Decoding and Encoding in Python
Current License: CC BY-SA 3.0
12 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Mar 10, 2018 at 22:19 | history | edited | Jens | CC BY-SA 3.0 |
added 80 characters in body
|
| Mar 10, 2018 at 11:29 | history | edited | Jens | CC BY-SA 3.0 |
added 142 characters in body
|
| Mar 10, 2018 at 11:24 | history | edited | Jens | CC BY-SA 3.0 |
added 142 characters in body
|
| Mar 10, 2018 at 11:19 | vote | accept | cordelia | ||
| Mar 10, 2018 at 11:19 | comment | added | cordelia | Thanks for this @Jens | |
| Mar 10, 2018 at 11:13 | comment | added | Jens |
@cordelia, the ’ character is Unicode character U+2019 and has no direct equivalent in ASCII. What you can do, however, is to use str.replace() to replace all ‘ and ’ with ASCII ' and the double quotation marks " and " with ASCI ". See also this question: Replacing unicode punctuation with ASCII approximations.
|
|
| Mar 10, 2018 at 10:57 | comment | added | cordelia | How do I avoid losing the 're for the you're? Apologies for bugging you with this but I just noticed it. | |
| Mar 10, 2018 at 10:23 | vote | accept | cordelia | ||
| Mar 10, 2018 at 10:56 | |||||
| Mar 10, 2018 at 10:23 | history | edited | Jens | CC BY-SA 3.0 |
added 153 characters in body
|
| Mar 10, 2018 at 10:23 | vote | accept | cordelia | ||
| Mar 10, 2018 at 10:23 | |||||
| Mar 10, 2018 at 10:23 | comment | added | cordelia | Thank you so much for helping me with this. That truly resolves my query. | |
| Mar 10, 2018 at 10:20 | history | answered | Jens | CC BY-SA 3.0 |