<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   >
<channel>
    <title>MySQL-dump - I18N</title>
    <link>http://mysqldump.azundris.com/</link>
    <description>many things MySQL</description>
    <dc:language>en</dc:language>
    <admin:errorReportsTo rdf:resource="mailto:mysqldump@mysqldump.azundris.com" />
    <generator>Serendipity 1.2-beta2 - http://www.s9y.org/</generator>
    
    <image>
        <url>http://mysqldump.azundris.com/templates/default/img/s9y_banner_small.png</url>
        <title>RSS: MySQL-dump - I18N - many things MySQL</title>
        <link>http://mysqldump.azundris.com/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>Handling character sets</title>
    <link>http://mysqldump.azundris.com/archives/60-Handling-character-sets.html</link>
            <category>I18N</category>
    
    <comments>http://mysqldump.azundris.com/archives/60-Handling-character-sets.html#comments</comments>
    <wfw:comment>http://mysqldump.azundris.com/wfwcomment.php?cid=60</wfw:comment>

    <slash:comments>3</slash:comments>
    <wfw:commentRss>http://mysqldump.azundris.com/rss.php?version=2.0&amp;type=comments&amp;cid=60</wfw:commentRss>
    

    <author>kris@koehntopp.de (Kristian Köhntopp)</author>
    <content:encoded>
    &lt;div class=&quot;serendipity_imageComment_right&quot; style=&quot;width: 110px&quot;&gt;&lt;div class=&quot;serendipity_imageComment_img&quot;&gt;&lt;a class=&#039;serendipity_image_link&#039; href=&quot;http://mysqldump.azundris.com/exit.php?url_id=530&amp;amp;entry_id=60&quot; title=&quot;http://flickr.com/photos/michellzappa/109672126/&quot;  onmouseover=&quot;window.status=&#039;http://flickr.com/photos/michellzappa/109672126/&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;&lt;!--s9ymdb:4036--&gt;&lt;img width=&#039;110&#039; height=&#039;110&#039;  src=&quot;http://mysqldump.azundris.com/uploads/font.serendipityThumb.jpg&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;serendipity_imageComment_txt&quot;&gt;Choose any font you like&lt;/div&gt;&lt;/div&gt; &lt;br /&gt;
&lt;br /&gt;
Ex-web.de Colleague Markus asked me: &lt;div class=&quot;bb-code-title&quot;&gt;QUOTE:&lt;/div&gt;&lt;div class=&quot;bb-quote&quot;&gt;Because ... we are now changing dedicated server providers, I have already updated the Gentoo base system. Since as we are already changing everything, we might as well now migrate from MySQL 4 to 5.&lt;br /&gt;
&lt;br /&gt;
So my question is: Shall I be switching from latin1 to utf8? Or should I be staying with latin1?&lt;/div&gt; I have been writing a &lt;a href=&quot;http://mysqldump.azundris.com/exit.php?url_id=531&amp;amp;entry_id=60&quot; title=&quot;http://blog.koehntopp.de/archives/1424-MySQL-Zeichensatz-Grundlagen.html&quot;  onmouseover=&quot;window.status=&#039;http://blog.koehntopp.de/archives/1424-MySQL-Zeichensatz-Grundlagen.html&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;german language article on character sets in MySQL&lt;/a&gt; and this is the translation of it.&lt;br /&gt;
 &lt;br /&gt;&lt;a href=&quot;http://mysqldump.azundris.com/archives/60-Handling-character-sets.html#extended&quot;&gt;Continue reading &quot;Handling character sets&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Mon, 09 Oct 2006 19:00:29 +0200</pubDate>
    <guid isPermaLink="false">http://mysqldump.azundris.com/archives/60-guid.html</guid>
    
</item>
<item>
    <title>latin1_german1_cs</title>
    <link>http://mysqldump.azundris.com/archives/50-latin1_german1_cs.html</link>
            <category>I18N</category>
    
    <comments>http://mysqldump.azundris.com/archives/50-latin1_german1_cs.html#comments</comments>
    <wfw:comment>http://mysqldump.azundris.com/wfwcomment.php?cid=50</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://mysqldump.azundris.com/rss.php?version=2.0&amp;type=comments&amp;cid=50</wfw:commentRss>
    

    <author>kris@koehntopp.de (Kristian Köhntopp)</author>
    <content:encoded>
    For a migration, I needed a latin1_german1_cs collation, that is, I needed German umlauts to sort as their base characters.&lt;br /&gt;
&lt;br /&gt;
Here is what to do: Find your charsets directory with &quot;SHOW VARIABLES LIKE &#039;char%dir%&#039;&quot;. &lt;br /&gt;
&lt;br /&gt;
Inside that directory will be a file Index.xml. Find a free id and add your new collation using an unused id. Add a description and a name.&lt;br /&gt;
&lt;br /&gt;
Inside the same directory is a file latin1.xml. Inside that file, copy the block of the collation matching your new collation most closely, and adapt it as needed. In my case, I changed latin1_german1_ci to _cs, and modified the character values to match.&lt;br /&gt;
&lt;br /&gt;
Patch attached after the break.&lt;br /&gt;
&lt;br /&gt;
How to use: &lt;br /&gt;
&lt;br /&gt;
After applying the patch, the server must be restarted. &quot;SHOW COLLATION&quot; will now show the new latin1_german1_cs collation. &quot;ALTER TABLE t CHANGE COLUMN oldcol newcol varchar(80) CHARSET latin1 COLLATE latin1_german1_cs NOT NULL&quot; will change any old column to the new collation and recreate indices as needed.&lt;br /&gt;
&lt;br /&gt;
Because we changed a single byte character set, we do not need to recomple anything. Try sorting by latin1_bin, latin1_german1_ci and latin1_german1_cs to observe how things are different with each collation. &lt;br /&gt;&lt;a href=&quot;http://mysqldump.azundris.com/archives/50-latin1_german1_cs.html#extended&quot;&gt;Continue reading &quot;latin1_german1_cs&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Mon, 08 May 2006 15:59:04 +0200</pubDate>
    <guid isPermaLink="false">http://mysqldump.azundris.com/archives/50-guid.html</guid>
    
</item>

</channel>
</rss>