<?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>Comments on: French Characters Not Rendering Correctly</title>
	<atom:link href="http://www.adamsdesk.com/be/archives/2007/11/16/french-characters-not-rendering-correctly/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.adamsdesk.com/be/archives/2007/11/16/french-characters-not-rendering-correctly/</link>
	<description>The life experiences of Adam Douglas.</description>
	<lastBuildDate>Wed, 01 Feb 2012 13:06:34 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Daniel Munoz Rey</title>
		<link>http://www.adamsdesk.com/be/archives/2007/11/16/french-characters-not-rendering-correctly/comment-page-1/#comment-66787</link>
		<dc:creator>Daniel Munoz Rey</dc:creator>
		<pubDate>Tue, 28 Jun 2011 10:22:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.adamsdesk.com/be/archives/2007/11/16/french-characters-not-rendering-correctly/#comment-66787</guid>
		<description>Hi There! I have a big problem!...

I have an Excel 2007 (PC) file in and I export it to CSV to import it in MySQL.

The export from Excel 2007 to CSV does not allow me to choose any charset, I think it export it in cp2150 but not sure.

Then I use:
mysqli_query($con,&quot;LOAD DATA LOCAL INFILE &#039;$path&#039; INTO TABLE $table 
CHARACTER SET &#039;cp1250&#039;...

But I o not see right the inverted french accents...

Have tried:
- $wine = iconv(&#039;ISO-8859-1&#039;,&#039;UTF-8&#039;,$wine);
- mysqli_query($con,&quot;SET NAMES &#039;utf8&#039;&quot;);
- mysqli_set_charset($con, &quot;utf8&quot;);
- 

And all convinations... But I am... Desperate!!!

THANK YOU!!!</description>
		<content:encoded><![CDATA[<p>Hi There! I have a big problem!&#8230;</p>
<p>I have an Excel 2007 (PC) file in and I export it to CSV to import it in MySQL.</p>
<p>The export from Excel 2007 to CSV does not allow me to choose any charset, I think it export it in cp2150 but not sure.</p>
<p>Then I use:<br />
mysqli_query($con,&#8221;LOAD DATA LOCAL INFILE &#8216;$path&#8217; INTO TABLE $table<br />
CHARACTER SET &#8216;cp1250&#8242;&#8230;</p>
<p>But I o not see right the inverted french accents&#8230;</p>
<p>Have tried:<br />
- $wine = iconv(&#8216;ISO-8859-1&#8242;,&#8217;UTF-8&#8242;,$wine);<br />
- mysqli_query($con,&#8221;SET NAMES &#8216;utf8&#8242;&#8221;);<br />
- mysqli_set_charset($con, &#8220;utf8&#8243;);<br />
- </p>
<p>And all convinations&#8230; But I am&#8230; Desperate!!!</p>
<p>THANK YOU!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cristian</title>
		<link>http://www.adamsdesk.com/be/archives/2007/11/16/french-characters-not-rendering-correctly/comment-page-1/#comment-37693</link>
		<dc:creator>cristian</dc:creator>
		<pubDate>Sun, 15 Aug 2010 02:16:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.adamsdesk.com/be/archives/2007/11/16/french-characters-not-rendering-correctly/#comment-37693</guid>
		<description>This is your solution
http://phpanswer.com/store-french-characters-into-mysql-db-and-display/

-------------

use mysql_set_charset(&#039;utf8&#039;, $database_connection);</description>
		<content:encoded><![CDATA[<p>This is your solution<br />
<a href="http://phpanswer.com/store-french-characters-into-mysql-db-and-display/" rel="nofollow">http://phpanswer.com/store-french-characters-into-mysql-db-and-display/</a></p>
<p>&#8212;&#8212;&#8212;&#8212;-</p>
<p>use mysql_set_charset(&#8216;utf8&#8242;, $database_connection);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ghulam Rasool</title>
		<link>http://www.adamsdesk.com/be/archives/2007/11/16/french-characters-not-rendering-correctly/comment-page-1/#comment-27921</link>
		<dc:creator>Ghulam Rasool</dc:creator>
		<pubDate>Fri, 25 Sep 2009 04:56:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.adamsdesk.com/be/archives/2007/11/16/french-characters-not-rendering-correctly/#comment-27921</guid>
		<description>thanx for help it is helpful discussion</description>
		<content:encoded><![CDATA[<p>thanx for help it is helpful discussion</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan</title>
		<link>http://www.adamsdesk.com/be/archives/2007/11/16/french-characters-not-rendering-correctly/comment-page-1/#comment-26967</link>
		<dc:creator>Ryan</dc:creator>
		<pubDate>Fri, 26 Jun 2009 09:37:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.adamsdesk.com/be/archives/2007/11/16/french-characters-not-rendering-correctly/#comment-26967</guid>
		<description>Mark&#039;s comment worked for me and my annoying french accents!  Thanks guys.  You just submit the query &#039;SET NAMES utf8&#039; prior to submitting your funny characters.</description>
		<content:encoded><![CDATA[<p>Mark&#8217;s comment worked for me and my annoying french accents!  Thanks guys.  You just submit the query &#8216;SET NAMES utf8&#8242; prior to submitting your funny characters.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: The Warden</title>
		<link>http://www.adamsdesk.com/be/archives/2007/11/16/french-characters-not-rendering-correctly/comment-page-1/#comment-20541</link>
		<dc:creator>The Warden</dc:creator>
		<pubDate>Tue, 20 Nov 2007 17:53:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.adamsdesk.com/be/archives/2007/11/16/french-characters-not-rendering-correctly/#comment-20541</guid>
		<description>Re: Mark

I would entirely agree Mark. However I&#039;m using MySQL v4.0.23 and that statement will not work. My assumptions are that proper support for character encoding was not supported until v4.1. I was unable to find anyone to help me further on this with the version I have installed. I would definitely upgrade if I could.</description>
		<content:encoded><![CDATA[<p>Re: Mark</p>
<p>I would entirely agree Mark. However I&#8217;m using MySQL v4.0.23 and that statement will not work. My assumptions are that proper support for character encoding was not supported until v4.1. I was unable to find anyone to help me further on this with the version I have installed. I would definitely upgrade if I could.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: The Warden</title>
		<link>http://www.adamsdesk.com/be/archives/2007/11/16/french-characters-not-rendering-correctly/comment-page-1/#comment-20540</link>
		<dc:creator>The Warden</dc:creator>
		<pubDate>Tue, 20 Nov 2007 17:50:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.adamsdesk.com/be/archives/2007/11/16/french-characters-not-rendering-correctly/#comment-20540</guid>
		<description>Re: Mike

Yes I would agree it does do that and rightfully it should as you have specified specifically to use a character encoding set in the meta tags.</description>
		<content:encoded><![CDATA[<p>Re: Mike</p>
<p>Yes I would agree it does do that and rightfully it should as you have specified specifically to use a character encoding set in the meta tags.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Robson</title>
		<link>http://www.adamsdesk.com/be/archives/2007/11/16/french-characters-not-rendering-correctly/comment-page-1/#comment-20535</link>
		<dc:creator>Mark Robson</dc:creator>
		<pubDate>Mon, 19 Nov 2007 20:58:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.adamsdesk.com/be/archives/2007/11/16/french-characters-not-rendering-correctly/#comment-20535</guid>
		<description>You would probably find it easier, and it would be more correct, to set the database&#039;s client connection encoding to utf8 instead of using iconv() in PHP.

Just do &quot;SET NAMES utf8&quot; after connecting each time.

Mark</description>
		<content:encoded><![CDATA[<p>You would probably find it easier, and it would be more correct, to set the database&#8217;s client connection encoding to utf8 instead of using iconv() in PHP.</p>
<p>Just do &#8220;SET NAMES utf8&#8243; after connecting each time.</p>
<p>Mark</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mike</title>
		<link>http://www.adamsdesk.com/be/archives/2007/11/16/french-characters-not-rendering-correctly/comment-page-1/#comment-20527</link>
		<dc:creator>mike</dc:creator>
		<pubDate>Fri, 16 Nov 2007 21:31:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.adamsdesk.com/be/archives/2007/11/16/french-characters-not-rendering-correctly/#comment-20527</guid>
		<description>what i&#039;ve realized is that no matter what column type (latin1, utf-8) in mysql, if the browser&#039;s meta tag is set to utf-8, it will encode it on input and on output.

of course, if you wanted to do anything specific with the data outside of a browser, you&#039;d probably run in to trouble though. but otherwise mysql appears to treat it just like normal binary data and there&#039;s no special treatment needed in PHP or MySQL...</description>
		<content:encoded><![CDATA[<p>what i&#8217;ve realized is that no matter what column type (latin1, utf-8) in mysql, if the browser&#8217;s meta tag is set to utf-8, it will encode it on input and on output.</p>
<p>of course, if you wanted to do anything specific with the data outside of a browser, you&#8217;d probably run in to trouble though. but otherwise mysql appears to treat it just like normal binary data and there&#8217;s no special treatment needed in PHP or MySQL&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- This Quick Cache file was built for (  www.adamsdesk.com/be/archives/2007/11/16/french-characters-not-rendering-correctly/feed/ ) in 1.78213 seconds, on Feb 11th, 2012 at 9:30 am UTC. -->
<!-- This Quick Cache file will automatically expire ( and be re-built automatically ) on Feb 11th, 2012 at 10:30 am UTC -->
