<?xml version="1.0" encoding="UTF-8"?><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/"
		>
<channel>
	<title>Comentários sobre: Migrando bases de dados LATIN1 para UTF-8 com o PostgreSQL</title>
	<atom:link href="http://chronosbox.org/blog/moving-postgresql-databases-from-latim1-to-utf8/feed" rel="self" type="application/rss+xml" />
	<link>http://chronosbox.org/blog/moving-postgresql-databases-from-latim1-to-utf8</link>
	<description>idéias e dicas de uma mente insana trabalhando com TI</description>
	<lastBuildDate>Wed, 09 Nov 2011 19:37:07 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>Por: Felipe 'chronos' Prenholato</title>
		<link>http://chronosbox.org/blog/moving-postgresql-databases-from-latim1-to-utf8/comment-page-1#comment-427</link>
		<dc:creator>Felipe 'chronos' Prenholato</dc:creator>
		<pubDate>Tue, 21 Dec 2010 12:22:36 +0000</pubDate>
		<guid isPermaLink="false">http://chronosbox.org/blog/?p=264#comment-427</guid>
		<description>Oi Eberson, desculpa a demora para responder.  Se eu não me engano (não to com um postgres agora para checar, pois mudei de trabalho) cada &lt;strong&gt;cluster&lt;/strong&gt; tem um arquivo &lt;strong&gt;postgresql.conf&lt;/strong&gt;. Você indo nestes arquivos e editando a configuração &lt;strong&gt;port&lt;/strong&gt;, e depois restartando o postgresql, deve resolver o seu problema.</description>
		<content:encoded><![CDATA[<p>Oi Eberson, desculpa a demora para responder.  Se eu não me engano (não to com um postgres agora para checar, pois mudei de trabalho) cada <strong>cluster</strong> tem um arquivo <strong>postgresql.conf</strong>. Você indo nestes arquivos e editando a configuração <strong>port</strong>, e depois restartando o postgresql, deve resolver o seu problema.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Por: Eberson</title>
		<link>http://chronosbox.org/blog/moving-postgresql-databases-from-latim1-to-utf8/comment-page-1#comment-426</link>
		<dc:creator>Eberson</dc:creator>
		<pubDate>Tue, 21 Dec 2010 00:52:08 +0000</pubDate>
		<guid isPermaLink="false">http://chronosbox.org/blog/?p=264#comment-426</guid>
		<description>Cara Muito boa sua dica, testei e cria o cluster 100%, mas o meu caso é assim so estou arrumando um servidor de dados em lenny o programador nao esta aqui portanto nao consiogo mudar a porta da aplicação :) será que nao tem como mudar a configuração default do postgre pra usar a codificação utf8??? Se vc puder dar uma dica agradeceria...</description>
		<content:encoded><![CDATA[<p>Cara Muito boa sua dica, testei e cria o cluster 100%, mas o meu caso é assim so estou arrumando um servidor de dados em lenny o programador nao esta aqui portanto nao consiogo mudar a porta da aplicação <img src='http://chronosbox.org/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  será que nao tem como mudar a configuração default do postgre pra usar a codificação utf8??? Se vc puder dar uma dica agradeceria&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Por: Marc PC1MH</title>
		<link>http://chronosbox.org/blog/moving-postgresql-databases-from-latim1-to-utf8/comment-page-1#comment-423</link>
		<dc:creator>Marc PC1MH</dc:creator>
		<pubDate>Fri, 19 Nov 2010 15:50:33 +0000</pubDate>
		<guid isPermaLink="false">http://chronosbox.org/blog/?p=264#comment-423</guid>
		<description>Hi, 
Thanks for the help. 
I had the same problem and solved it in a slightly different way. I&#039;d like to share with you all the following:

If the database is in LATIN1 and the data is in UTF-8 then:

createdb: database creation failed: ERROR: encoding UTF8 does not match server&#039;s locale en_US
DETAIL: The server&#039;s LC_CTYPE setting requires encoding LATIN1.

- purge postgres (apt-get purge postgres postgres-common)
- check out /etc/locale.gen and add: en_US.UTF-8 UTF-8
- Then run as root: locale-gen
- Reinstall postgres and now all databases are in UTF-8</description>
		<content:encoded><![CDATA[<p>Hi,<br />
Thanks for the help.<br />
I had the same problem and solved it in a slightly different way. I&#8217;d like to share with you all the following:</p>
<p>If the database is in LATIN1 and the data is in UTF-8 then:</p>
<p>createdb: database creation failed: ERROR: encoding UTF8 does not match server&#8217;s locale en_US<br />
DETAIL: The server&#8217;s LC_CTYPE setting requires encoding LATIN1.</p>
<p>- purge postgres (apt-get purge postgres postgres-common)<br />
- check out /etc/locale.gen and add: en_US.UTF-8 UTF-8<br />
- Then run as root: locale-gen<br />
- Reinstall postgres and now all databases are in UTF-8</p>
]]></content:encoded>
	</item>
	<item>
		<title>Por: marc</title>
		<link>http://chronosbox.org/blog/moving-postgresql-databases-from-latim1-to-utf8/comment-page-1#comment-264</link>
		<dc:creator>marc</dc:creator>
		<pubDate>Wed, 10 Mar 2010 10:33:09 +0000</pubDate>
		<guid isPermaLink="false">http://chronosbox.org/blog/?p=264#comment-264</guid>
		<description>Hello! Your post (Moving PostgreSQL databases from LATIN1 to UTF-8 - Chronosbox) does so well that I would like to translate it into French, publish on my french blog and link to you. You have something against it? Regards</description>
		<content:encoded><![CDATA[<p>Hello! Your post (Moving PostgreSQL databases from LATIN1 to UTF-8 &#8211; Chronosbox) does so well that I would like to translate it into French, publish on my french blog and link to you. You have something against it? Regards</p>
]]></content:encoded>
	</item>
</channel>
</rss>

