projects
/
cipher-training.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Bits of tinkering
[cipher-training.git]
/
slides
/
caesar-break.html
diff --git
a/slides/caesar-break.html
b/slides/caesar-break.html
index 879244624f8a5e210c3495ee12794a1ae321d479..090c43f9147340b37e2f6e11ef213c93a1320a39 100644
(file)
--- a/
slides/caesar-break.html
+++ b/
slides/caesar-break.html
@@
-207,6
+207,8
@@
Text encodings will bite you when you least expect it.
# Five minutes on StackOverflow later...
```python
+import unicodedata
+
def unaccent(text):
"""Remove all accents from letters.
It does this by converting the unicode string to decomposed compatibility