<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Why Not ? &#187; utf-8</title>
	<atom:link href="http://www.murat-beser.com/tag/utf-8/feed" rel="self" type="application/rss+xml" />
	<link>http://www.murat-beser.com</link>
	<description>a deep breath and let yourself fall out of life</description>
	<lastBuildDate>Sat, 24 Jul 2010 15:41:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>MySQL&#8217;de latin1 bir tabloyu utf8&#8242;e gerçirmek</title>
		<link>http://www.murat-beser.com/2009/04/02/mysqlde-latin1-bir-tabloyu-utf8e-gercirmek.html</link>
		<comments>http://www.murat-beser.com/2009/04/02/mysqlde-latin1-bir-tabloyu-utf8e-gercirmek.html#comments</comments>
		<pubDate>Thu, 02 Apr 2009 08:39:06 +0000</pubDate>
		<dc:creator>Murat Beşer</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Sunucular]]></category>
		<category><![CDATA[latin]]></category>
		<category><![CDATA[latin1]]></category>
		<category><![CDATA[latin5]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[utf-8]]></category>
		<category><![CDATA[utf8]]></category>

		<guid isPermaLink="false">http://www.murat-beser.com/?p=148</guid>
		<description><![CDATA[Adım 1:  Dump of Dump (MySQL Dump ile saf datayı alıyoruz) mysqldump --user=kul -p --default-character-set=latin1 -c --insert-ignore --skip-set-charset dbname &#62; dump.sql Adım 2: Make (Yeni Veri Tabanı Oluştur) mysql --user=user -p --execute="DROP DATABASE dbname; CREATE DATABASE dbname CHARACTER SET utf8 COLLATE utf8_general_ci;" Adım 3: From Dump To Clever (Eski datanın utf-8 e çevrilmesi) iconv -f [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Adım 1:  Dump of Dump (MySQL Dump ile saf datayı alıyoruz)<br />
</strong></p>
<blockquote><p><span class="Apple-style-span" style="border-collapse: separate; color: #000000; font-family: -webkit-monospace; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 27px; orphans: 2; text-indent: 0px; text-transform: none; white-space: pre; widows: 2; word-spacing: 0px;">mysqldump --user=kul -p --default-character-set=latin1 -c --insert-ignore --skip-set-charset dbname &gt; dump.sql</span></p></blockquote>
<p><span class="Apple-style-span" style="border-collapse: separate; color: #000000; font-family: -webkit-monospace; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 27px; orphans: 2; text-indent: 0px; text-transform: none; white-space: pre; widows: 2; word-spacing: 0px;"><strong>Adım 2: Make (Yeni Veri Tabanı Oluştur)</strong></span></p>
<blockquote><p><span class="Apple-style-span" style="border-collapse: separate; color: #000000; font-family: -webkit-monospace; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 27px; orphans: 2; text-indent: 0px; text-transform: none; white-space: pre; widows: 2; word-spacing: 0px;">mysql --user=user -p --execute="DROP DATABASE dbname;<br />
CREATE DATABASE dbname CHARACTER SET utf8 COLLATE utf8_general_ci;"</span></p></blockquote>
<p><span class="Apple-style-span" style="border-collapse: separate; color: #000000; font-family: -webkit-monospace; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 27px; orphans: 2; text-indent: 0px; text-transform: none; white-space: pre; widows: 2; word-spacing: 0px;"><strong>Adım 3: From Dump To Clever (Eski datanın utf-8 e çevrilmesi)</strong></span></p>
<blockquote><p><span class="Apple-style-span" style="border-collapse: separate; color: #000000; font-family: -webkit-monospace; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 27px; orphans: 2; text-indent: 0px; text-transform: none; white-space: pre; widows: 2; word-spacing: 0px;">iconv -f <em>ISO-8859-1</em> -t UTF-8 dump.sql &gt; dump_utf8.sql<br />
perl -pi -w -e 's/CHARSET=<em>latin1</em>/CHARSET=utf8/g;' dump_utf8.sql</span></p></blockquote>
<p><span class="Apple-style-span" style="border-collapse: separate; color: #000000; font-family: -webkit-monospace; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 27px; orphans: 2; text-indent: 0px; text-transform: none; white-space: pre; widows: 2; word-spacing: 0px;"><strong>Adım 4: A little modify (Data içerisinden latin tabloların utf-8 yapılması)</strong></span></p>
<blockquote><p><span class="Apple-style-span" style="border-collapse: separate; color: #000000; font-family: -webkit-monospace; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 27px; orphans: 2; text-indent: 0px; text-transform: none; white-space: pre; widows: 2; word-spacing: 0px;">nano </span><span class="Apple-style-span" style="border-collapse: separate; color: #000000; font-family: -webkit-monospace; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 27px; orphans: 2; text-indent: 0px; text-transform: none; white-space: pre; widows: 2; word-spacing: 0px;">ump_utf8.sql </span></p></blockquote>
<p><span class="Apple-style-span" style="border-collapse: separate; color: #000000; font-family: -webkit-monospace; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 27px; orphans: 2; text-indent: 0px; text-transform: none; white-space: pre; widows: 2; word-spacing: 0px;">diyerek SQL dosyamız içerisindeki create lerin popolarındaki <strong>latin </strong>işaretlerini <strong>utf8</strong> olarak değiştiriyoruz.<br />
</span></p>
<p><span class="Apple-style-span" style="border-collapse: separate; color: #000000; font-family: -webkit-monospace; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 27px; orphans: 2; text-indent: 0px; text-transform: none; white-space: pre; widows: 2; word-spacing: 0px;"><strong>Adım 5: Go Back Your Hole (Eski datamızı UTF-8 veri tabanımıza geri yüklüyoruz)</strong></span></p>
<blockquote><p><span class="Apple-style-span" style="border-collapse: separate; color: #000000; font-family: -webkit-monospace; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 27px; orphans: 2; text-indent: 0px; text-transform: none; white-space: pre; widows: 2; word-spacing: 0px;">mysql --user=kul --max_allowed_packet=16M -p --default-character-set=utf8 dbname &lt; dump_utf8.sql</span></p></blockquote>
<p>Tabiki de sorunlarla karşılaşma olağınız var. Bu konuda elimden geldiğince yardımcı olacağım.</p>
<p><span class="Apple-style-span" style="border-collapse: separate; color: #000000; font-family: -webkit-monospace; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 27px; orphans: 2; text-indent: 0px; text-transform: none; white-space: pre; widows: 2; word-spacing: 0px;"><br />
</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.murat-beser.com/2009/04/02/mysqlde-latin1-bir-tabloyu-utf8e-gercirmek.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
