<?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>utf8 &#8211; Alessandro Crugnola &#8211; sephiroth.it</title>
	<atom:link href="https://blog.sephiroth.it/tag/utf8/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.sephiroth.it</link>
	<description>programmer by pure chance</description>
	<lastBuildDate>Sun, 13 Jun 2010 09:35:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://blog.sephiroth.it/wp-content/uploads/2019/03/cropped-sepy-big-32x32.png</url>
	<title>utf8 &#8211; Alessandro Crugnola &#8211; sephiroth.it</title>
	<link>https://blog.sephiroth.it</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Charset handling proposal in AMFPHP</title>
		<link>https://blog.sephiroth.it/2005/01/28/charset-handling-proposal-in-amfphp/</link>
					<comments>https://blog.sephiroth.it/2005/01/28/charset-handling-proposal-in-amfphp/#respond</comments>
		
		<dc:creator><![CDATA[Alessandro Crugnola]]></dc:creator>
		<pubDate>Sat, 29 Jan 2005 01:13:20 +0000</pubDate>
				<category><![CDATA[amfphp]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[charset]]></category>
		<category><![CDATA[encoding]]></category>
		<category><![CDATA[iconv]]></category>
		<category><![CDATA[mbstring]]></category>
		<category><![CDATA[utf8]]></category>
		<guid isPermaLink="false">http://blog.sephiroth.it/?p=57</guid>

					<description><![CDATA[amfphp charset handling problem and proposal<br />
]]></description>
										<content:encoded><![CDATA[<p><span style="font-weight: bold;">Patrick Mineault</span> makes a proposal for the charset handling in <a href="http://www.amfphp.org">AMFPHP</a></p>
<div style="border: 1px dotted #cccccc; margin: 10px 15px; padding: 5px; background-color: #fdf8e5; font-style: italic;"><em>[..] that should put an end to problems with Unicode and native character set handling between PHP and Flash, a problem that has palgued AMFPHP for a long time</em></div>
<p>To use charset handling in the new CVS version, you will need to call the setCharsetHandler function from your gateway.php file, like this:</p>
<pre>$gateway-&gt;setCharsetHandler("iconv", "latin1", "latin1");</pre>
<p>Detail for setCharsetHandler method: setCharsetHandler(string <span style="font-weight: bold;">mode</span>, string <span style="font-weight: bold;">phpCharset</span>, string <span style="font-weight: bold;">sqlCharset</span>)  The mode can be: 1. none (don’t do anything) 2. <a href="http://www.php.net/iconv">iconv</a> (uses the iconv libray for reencoding) 3. <a href="http://www.php.net/mbstring">mbstring</a> (uses the mbstring library for reencoding) 4. <a href="http://www.php.net/recode">recode</a> (uses the recode library for reencoding) 5. <a href="http://www.php.net/utf8_decode">utf8_decode</a> (uses the XML function utf8_decode and encode for reencoding &#8211; ISO-8859-1 only)   I haven&#8217;t tested it already, but I&#8217;m sure this is a great step toward a solution of the charset problem!</p>
<p><a href="http://www.amfphp.org/wiki/doku.php?id=charset_issue">http://www.amfphp.org/wiki/doku.php?id=charset_issue</a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.sephiroth.it/2005/01/28/charset-handling-proposal-in-amfphp/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
