<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<atom:link xmlns:atom="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="https://tanguy.ortolo.eu/blog/feed/rss/commentaires/" />
	<link>https://tanguy.ortolo.eu/blog/article62/mysql-encoding</link>
	<language>en</language>
	<description>a blog about Debian and self-hosting</description>
	<lastBuildDate>Wed, 18 Jul 2012 12:58:00 +0000</lastBuildDate>
	<generator>PluXml</generator>
	<item>
		<title>MySQL save/restore: an example of what not to do - Written by Tanguy @ wednesday 18 july 2012, 12:58</title> 
		<link>https://tanguy.ortolo.eu/blog/article62/mysql-encoding/#c1342616315-1</link>
		<guid>https://tanguy.ortolo.eu/blog/article62/mysql-encoding/#c1342616315-1</guid>
		<description>@mirabilos : No problem, just expect that I make fun of your comments from time to time then. :-)

(and do not hesitate to correct me when I say anything wrong, of course)</description>
		<pubDate>Wed, 18 Jul 2012 12:58:00 +0000</pubDate>
		<dc:creator>Tanguy</dc:creator>
	</item>
	<item>
		<title>MySQL save/restore: an example of what not to do - Written by mirabilos @ wednesday 18 july 2012, 12:21</title> 
		<link>https://tanguy.ortolo.eu/blog/article62/mysql-encoding/#c1342614064-1</link>
		<guid>https://tanguy.ortolo.eu/blog/article62/mysql-encoding/#c1342614064-1</guid>
		<description>@Tanguy: funnily, you tend to choose topics I can’t help but “troll” on (although this is not strictly trolling; my utterances usually have some amount of truth behind them).

Sorry about that.

I really respect that you write a lot about technical stuff, but most of the time I find something (usually minor, which is why I rarely comment on them) wrong with the posts, technically, that bugs me. I have made the experience that half-knowledge can hurt worse than being unknowledgeable.

Really, sorry. Nothing personal, and even nothing against your posts. This says more about me than about you.</description>
		<pubDate>Wed, 18 Jul 2012 12:21:00 +0000</pubDate>
		<dc:creator>mirabilos</dc:creator>
	</item>
	<item>
		<title>MySQL save/restore: an example of what not to do - Written by Tanguy @ tuesday 17 july 2012, 11:54</title> 
		<link>https://tanguy.ortolo.eu/blog/article62/mysql-encoding/#c1342526047-1</link>
		<guid>https://tanguy.ortolo.eu/blog/article62/mysql-encoding/#c1342526047-1</guid>
		<description>@Nicolas : I was still thinking MySQL did not support the astral planes above the BMP at all, thanks you for the information.

@mirabilos : You would not have anything constructive to say at all, would you?</description>
		<pubDate>Tue, 17 Jul 2012 11:54:00 +0000</pubDate>
		<dc:creator>Tanguy</dc:creator>
	</item>
	<item>
		<title>MySQL save/restore: an example of what not to do - Written by mirabilos @ tuesday 17 july 2012, 11:36</title> 
		<link>https://tanguy.ortolo.eu/blog/article62/mysql-encoding/#c1342524973-1</link>
		<guid>https://tanguy.ortolo.eu/blog/article62/mysql-encoding/#c1342524973-1</guid>
		<description>LOL @ article

ROTFLMAO @ comment from Nicolas

Anyway, please do not write “dealing with MySQL databases”, it’s not a database.</description>
		<pubDate>Tue, 17 Jul 2012 11:36:00 +0000</pubDate>
		<dc:creator>mirabilos</dc:creator>
	</item>
	<item>
		<title>MySQL save/restore: an example of what not to do - Written by Nicolas @ tuesday 17 july 2012, 08:27</title> 
		<link>https://tanguy.ortolo.eu/blog/article62/mysql-encoding/#c1342513651-1</link>
		<guid>https://tanguy.ortolo.eu/blog/article62/mysql-encoding/#c1342513651-1</guid>
		<description>« As you can see, it is quite modern in its default choice: if you do not specify which encoding you want to encode your database content into, it uses UTF-8. This way, it can save any database content, whatever characters it may contain. » 

afaik, there&amp;#039;s a BIG trap here. According to the mysql documentation the &amp;quot;mysql utf8&amp;quot; is a only a 3bytes subset of the 4bytes &amp;quot;ietf utf8&amp;quot; set : it can only encode BMP values (thoses encodable on 3 bytes), if you want to save valid unicode values from SMP (thoses who need 4 bytes ; like &amp;quot;Mathematical Alphanumeric Symbols&amp;quot; set or the newly added &amp;quot;Emoticons&amp;quot; set) you should use the &amp;quot;mysql utf8mb4&amp;quot;. 

 * https://dev.mysql.com/doc/refman/5.6/en/charset-unicode-utf8mb4.html
 * https://tools.ietf.org/html/rfc3629#section-3 
 * https://en.wikipedia.org/wiki/Plane_(Unicode)

Talk about obvious discrepancy :p</description>
		<pubDate>Tue, 17 Jul 2012 08:27:00 +0000</pubDate>
		<dc:creator>Nicolas</dc:creator>
	</item>
	<item>
		<title>MySQL save/restore: an example of what not to do - Written by Marcus @ tuesday 17 july 2012, 05:20</title> 
		<link>https://tanguy.ortolo.eu/blog/article62/mysql-encoding/#c1342502453-1</link>
		<guid>https://tanguy.ortolo.eu/blog/article62/mysql-encoding/#c1342502453-1</guid>
		<description>Unless of course you are seriously dealing with mysql, then you just take binary backups and not have this problem.</description>
		<pubDate>Tue, 17 Jul 2012 05:20:00 +0000</pubDate>
		<dc:creator>Marcus</dc:creator>
	</item>
		<title>Tanguy Ortolo - MySQL save/restore: an example of what not to do - Comments</title> 
</channel>
</rss>