<?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: Funny characters, Webservices and UTF8</title>
	<atom:link href="http://www.mehtanirav.com/2005/11/24/funny-characters-webservices-and-utf8/feed" rel="self" type="application/rss+xml" />
	<link>http://www.mehtanirav.com/2005/11/24/funny-characters-webservices-and-utf8</link>
	<description>Nirav Mehta on life, technology and future</description>
	<lastBuildDate>Fri, 02 Jul 2010 10:51:57 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Dan</title>
		<link>http://www.mehtanirav.com/2005/11/24/funny-characters-webservices-and-utf8/comment-page-1#comment-133219</link>
		<dc:creator>Dan</dc:creator>
		<pubDate>Thu, 05 Nov 2009 22:53:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.mehtanirav.com/2005/11/24/funny-characters-webservices-and-utf8/#comment-133219</guid>
		<description>Unicode has a variety of encoding methods of which utf-8 is extreemly common. Some people think that utf-16 is unicode and that&#039;s all there is. Wrong, utf-16 is used a lot on windows like sql server because the 2 bytes is more manageable. utf-8 is much cooler because it uses a variable byte count (1-3 bytes) depending on the 8th bit of the first byte. So, regular ascii strings are stored as one byte per character (with bit 7 off) however the minute you get a fancy character bit 8 is turned on and another byte will follow with the details. But utf-8, utf-16, are flavours of the same concept - there is no need for special language encodings because all languages are handled in the one encoding.</description>
		<content:encoded><![CDATA[<p>Unicode has a variety of encoding methods of which utf-8 is extreemly common. Some people think that utf-16 is unicode and that&#8217;s all there is. Wrong, utf-16 is used a lot on windows like sql server because the 2 bytes is more manageable. utf-8 is much cooler because it uses a variable byte count (1-3 bytes) depending on the 8th bit of the first byte. So, regular ascii strings are stored as one byte per character (with bit 7 off) however the minute you get a fancy character bit 8 is turned on and another byte will follow with the details. But utf-8, utf-16, are flavours of the same concept &#8211; there is no need for special language encodings because all languages are handled in the one encoding.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fesh</title>
		<link>http://www.mehtanirav.com/2005/11/24/funny-characters-webservices-and-utf8/comment-page-1#comment-132384</link>
		<dc:creator>Fesh</dc:creator>
		<pubDate>Tue, 08 Jul 2008 21:13:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.mehtanirav.com/2005/11/24/funny-characters-webservices-and-utf8/#comment-132384</guid>
		<description>Thanks for that solution Pavel...worked perfect.</description>
		<content:encoded><![CDATA[<p>Thanks for that solution Pavel&#8230;worked perfect.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Laurents C. R. Meyer</title>
		<link>http://www.mehtanirav.com/2005/11/24/funny-characters-webservices-and-utf8/comment-page-1#comment-132352</link>
		<dc:creator>Laurents C. R. Meyer</dc:creator>
		<pubDate>Mon, 30 Jun 2008 22:04:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.mehtanirav.com/2005/11/24/funny-characters-webservices-and-utf8/#comment-132352</guid>
		<description>Successfully used the &quot;Pavel Benisek Solution&quot;. Works great.</description>
		<content:encoded><![CDATA[<p>Successfully used the &#8220;Pavel Benisek Solution&#8221;. Works great.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim</title>
		<link>http://www.mehtanirav.com/2005/11/24/funny-characters-webservices-and-utf8/comment-page-1#comment-132198</link>
		<dc:creator>Tim</dc:creator>
		<pubDate>Thu, 24 Apr 2008 21:28:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.mehtanirav.com/2005/11/24/funny-characters-webservices-and-utf8/#comment-132198</guid>
		<description>UTF-8 is not Unicode...  Unicode is also known as UTF-16 and every character is 2 bytes.  UTF-8 is a mix/stop-gap between ASCII and Unicode where characters can very between 1-3 bytes.</description>
		<content:encoded><![CDATA[<p>UTF-8 is not Unicode&#8230;  Unicode is also known as UTF-16 and every character is 2 bytes.  UTF-8 is a mix/stop-gap between ASCII and Unicode where characters can very between 1-3 bytes.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pavel Benisek</title>
		<link>http://www.mehtanirav.com/2005/11/24/funny-characters-webservices-and-utf8/comment-page-1#comment-132085</link>
		<dc:creator>Pavel Benisek</dc:creator>
		<pubDate>Sun, 09 Mar 2008 22:38:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.mehtanirav.com/2005/11/24/funny-characters-webservices-and-utf8/#comment-132085</guid>
		<description>I was having this problem while the MySQL Client&#039;s encoding was set to latin1. Solved by setting it to utf8 solved the problem.

mysql_set_charset( &#039;utf8&#039;, $this-&gt;DB ) or die (&quot;ERROR: Unable to set Client&#039;s character set&quot;);

Pavel</description>
		<content:encoded><![CDATA[<p>I was having this problem while the MySQL Client&#8217;s encoding was set to latin1. Solved by setting it to utf8 solved the problem.</p>
<p>mysql_set_charset( &#8216;utf8&#8242;, $this-&gt;DB ) or die (&#8220;ERROR: Unable to set Client&#8217;s character set&#8221;);</p>
<p>Pavel</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: FOXXFiles</title>
		<link>http://www.mehtanirav.com/2005/11/24/funny-characters-webservices-and-utf8/comment-page-1#comment-76748</link>
		<dc:creator>FOXXFiles</dc:creator>
		<pubDate>Tue, 19 Jun 2007 19:39:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.mehtanirav.com/2005/11/24/funny-characters-webservices-and-utf8/#comment-76748</guid>
		<description>You can save the database on sqlscript, remove the collate command, recode sqlscript and restore database. its work.</description>
		<content:encoded><![CDATA[<p>You can save the database on sqlscript, remove the collate command, recode sqlscript and restore database. its work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mxcd</title>
		<link>http://www.mehtanirav.com/2005/11/24/funny-characters-webservices-and-utf8/comment-page-1#comment-59395</link>
		<dc:creator>mxcd</dc:creator>
		<pubDate>Wed, 25 Apr 2007 10:35:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.mehtanirav.com/2005/11/24/funny-characters-webservices-and-utf8/#comment-59395</guid>
		<description>Using utf8_encode() on the results will NOT eliminate this problem.
As long as it there are the funny characters, M$ word uses are the problem. (Characters in the above list.)

I had the prob, writing a small cms where users started copying and pasting MSW content - it was hell.</description>
		<content:encoded><![CDATA[<p>Using utf8_encode() on the results will NOT eliminate this problem.<br />
As long as it there are the funny characters, M$ word uses are the problem. (Characters in the above list.)</p>
<p>I had the prob, writing a small cms where users started copying and pasting MSW content &#8211; it was hell.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nirav</title>
		<link>http://www.mehtanirav.com/2005/11/24/funny-characters-webservices-and-utf8/comment-page-1#comment-3217</link>
		<dc:creator>Nirav</dc:creator>
		<pubDate>Thu, 08 Jun 2006 13:41:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.mehtanirav.com/2005/11/24/funny-characters-webservices-and-utf8/#comment-3217</guid>
		<description>Using utf8_encode() on the results will eliminate this problem. Some other solution that I found on the net (which I have not tried) is to downgrade libxml to 2.6.8.</description>
		<content:encoded><![CDATA[<p>Using utf8_encode() on the results will eliminate this problem. Some other solution that I found on the net (which I have not tried) is to downgrade libxml to 2.6.8.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
