<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/"><channel><title>Charset on Shaowen Chen's Website</title><link>https://www.chenshaowen.com/en/tags/charset/</link><description>Recent content in Charset on Shaowen Chen's Website</description><generator>Hugo -- gohugo.io</generator><language>en</language><copyright>&amp;copy;2016 - {year}, All Rights Reserved.</copyright><lastBuildDate>Mon, 25 Jun 2018 00:00:00 +0000</lastBuildDate><sy:updatePeriod>weekly</sy:updatePeriod><atom:link href="https://www.chenshaowen.com/en/tags/charset/atom.xml" rel="self" type="application/rss+xml"/><item><title>Using utf8mb4 in Django to Support Emoji</title><link>https://www.chenshaowen.com/en/blog/using-utf8mb4-in-django-to-support-emoji-expression.html</link><pubDate>Mon, 25 Jun 2018 00:00:00 +0000</pubDate><atom:modified>Mon, 25 Jun 2018 00:00:00 +0000</atom:modified><guid>https://www.chenshaowen.com/en/blog/using-utf8mb4-in-django-to-support-emoji-expression.html</guid><description>1. What Is utf8 In theory, utf8 uses 1-6 characters,
In practice, the latest utf8 specification uses only one to four bytes, and can encode at most 21 bits, which is exactly enough to represent all 17 Unicode planes.
2. What Is utf8mb4 utf8mb4 is a superset of utf8. In theory, if you were using utf8 before and then change the charset to utf8mb4, it will not cause any problem when reading the existing utf8-encoded data.</description><dc:creator>WeChat Official Account</dc:creator><category>Django</category><category>Python</category><category>Database</category><category>Charset</category><category>Encoding</category><category>R&amp;D</category></item></channel></rss>