diff options
Diffstat (limited to 'source/blog/2014-12-05-python-3-and-unicode.md')
-rw-r--r-- | source/blog/2014-12-05-python-3-and-unicode.md | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/source/blog/2014-12-05-python-3-and-unicode.md b/source/blog/2014-12-05-python-3-and-unicode.md deleted file mode 100644 index eb596956..00000000 --- a/source/blog/2014-12-05-python-3-and-unicode.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -title: "Python 3 and Unicode" -date: 2014-12-05 15:01:54 -0800 -date-display: December 5, 2014 ---- -I never realized that in Python 3 Unicode is the default; in particular, `str` in Python 3 is practically equivalent to `unicode` in Python 2. This might be the *one thing* that convince me to migrate. `str.encode()`, `str.decode()`, `unicode.encode()`, `unicode.decode()`, etc. are so confusing that I'm never 100% sure what I'm doing (only-occasionally-used-but-unavoidable-and-worst-of-all-very-confusing "features" are nightmares). |