{"id":203,"date":"2013-04-17T10:26:57","date_gmt":"2013-04-17T10:26:57","guid":{"rendered":"http:\/\/blog.datentraeger.li\/?p=203"},"modified":"2017-02-24T13:58:19","modified_gmt":"2017-02-24T13:58:19","slug":"mysql-dump-mit-utf-8","status":"publish","type":"post","link":"https:\/\/blog.datentraeger.li\/?p=203","title":{"rendered":"MySQL Dump mit UTF-8"},"content":{"rendered":"<p>Letztens hatte ich das Problem, dass ein MySQL-Dump erstellt wurde, welcher Umlaute enthalten hat. Beim Import des Dumps wurden diese aber mal wieder \u201czerhackt. Um dieses Problem zu umgehen, gibt es verschiedene L\u00f6sungen (siehe zb. auch <a title=\"MySQL Encoding\" href=\"http:\/\/blog.datentraeger.li\/?p=2250\" target=\"_blank\">diesen Post<\/a>), die mir auf die Schnelle am bequemsten fand ich, im Dump anzugeben, dass er gef\u00e4lligst UTF-8 verwenden soll\u2026<\/p>\n<pre class=\"lang:mysql decode:true \">SET NAMES 'utf8';\r\n....dumpinhalt...\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"Letztens hatte ich das Problem, dass ein MySQL-Dump erstellt wurde, welcher Umlaute enthalten hat. Beim Import des Dumps wurden diese aber mal wieder \u201czerhackt. Um dieses Problem zu umgehen, gibt es verschiedene L\u00f6sungen (siehe zb. auch diesen Post), die mir auf die Schnelle am bequemsten fand ich, im Dump anzugeben,&hellip;\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15,16],"tags":[],"class_list":["post-203","post","type-post","status-publish","format-standard","hentry","category-database","category-sql"],"_links":{"self":[{"href":"https:\/\/blog.datentraeger.li\/index.php?rest_route=\/wp\/v2\/posts\/203","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.datentraeger.li\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.datentraeger.li\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.datentraeger.li\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.datentraeger.li\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=203"}],"version-history":[{"count":3,"href":"https:\/\/blog.datentraeger.li\/index.php?rest_route=\/wp\/v2\/posts\/203\/revisions"}],"predecessor-version":[{"id":475,"href":"https:\/\/blog.datentraeger.li\/index.php?rest_route=\/wp\/v2\/posts\/203\/revisions\/475"}],"wp:attachment":[{"href":"https:\/\/blog.datentraeger.li\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=203"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.datentraeger.li\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=203"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.datentraeger.li\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=203"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}