<?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: How to use json_encode with ISO-8859-1 data – Part2</title>
	<atom:link href="http://www.pabloviquez.com/2009/07/json-iso-8859-1-and-utf-8-%e2%80%93-part2/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.pabloviquez.com/2009/07/json-iso-8859-1-and-utf-8-%e2%80%93-part2/</link>
	<description>Mi vida y cosas relacionadas</description>
	<lastBuildDate>Thu, 24 Jun 2010 07:40:01 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: json decode fails on non utf-8 &#124; ~ overfl0w ~</title>
		<link>http://www.pabloviquez.com/2009/07/json-iso-8859-1-and-utf-8-%e2%80%93-part2/comment-page-1/#comment-10673</link>
		<dc:creator>json decode fails on non utf-8 &#124; ~ overfl0w ~</dc:creator>
		<pubDate>Tue, 16 Mar 2010 22:07:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.pabloviquez.com/?p=200#comment-10673</guid>
		<description>[...] Pablo Viquez (A solution pretty much like mine but for sending data instead)  :base64, encode, javascript, json, utf-8         No comments for this entry yet... [...]</description>
		<content:encoded><![CDATA[<p>[...] Pablo Viquez (A solution pretty much like mine but for sending data instead)  :base64, encode, javascript, json, utf-8         No comments for this entry yet&#8230; [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tweets that mention Pablo Viquez Blog » How to use json_encode with ISO-8859-1 data – Part2 -- Topsy.com</title>
		<link>http://www.pabloviquez.com/2009/07/json-iso-8859-1-and-utf-8-%e2%80%93-part2/comment-page-1/#comment-8756</link>
		<dc:creator>Tweets that mention Pablo Viquez Blog » How to use json_encode with ISO-8859-1 data – Part2 -- Topsy.com</dc:creator>
		<pubDate>Tue, 09 Feb 2010 20:07:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.pabloviquez.com/?p=200#comment-8756</guid>
		<description>[...] This post was mentioned on Twitter by opendir, opendir. opendir said: JS PHP JSON ISO-8859-1 / php,json,jquery: http://tinyurl.com/yke8fvg - JSON használata nem UTF-8 kódolású karakt [...]</description>
		<content:encoded><![CDATA[<p>[...] This post was mentioned on Twitter by opendir, opendir. opendir said: JS PHP JSON ISO-8859-1 / php,json,jquery: <a href="http://tinyurl.com/yke8fvg" rel="nofollow">http://tinyurl.com/yke8fvg</a> &#8211; JSON használata nem UTF-8 kódolású karakt [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter</title>
		<link>http://www.pabloviquez.com/2009/07/json-iso-8859-1-and-utf-8-%e2%80%93-part2/comment-page-1/#comment-6879</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Sun, 13 Dec 2009 11:50:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.pabloviquez.com/?p=200#comment-6879</guid>
		<description>Very very bad solution !!!</description>
		<content:encoded><![CDATA[<p>Very very bad solution !!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric</title>
		<link>http://www.pabloviquez.com/2009/07/json-iso-8859-1-and-utf-8-%e2%80%93-part2/comment-page-1/#comment-4655</link>
		<dc:creator>Eric</dc:creator>
		<pubDate>Wed, 05 Aug 2009 08:54:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.pabloviquez.com/?p=200#comment-4655</guid>
		<description>Isn&#039;t it a simpler solution ?

What I did before moving all my site to UTF8 (which on the long term has advantages) was :
- Using utf8_encode() &#039;s php function to encode my strings before calling json_encode()
- decoding them on the javascript side using something like:
var decodedValue; eval(&#039;decodedValue = &quot;&#039;+jsonObject.encodedValue+&#039;&quot;;&#039;);

Eric</description>
		<content:encoded><![CDATA[<p>Isn&#8217;t it a simpler solution ?</p>
<p>What I did before moving all my site to UTF8 (which on the long term has advantages) was :<br />
- Using utf8_encode() &#8216;s php function to encode my strings before calling json_encode()<br />
- decoding them on the javascript side using something like:<br />
var decodedValue; eval(&#8216;decodedValue = &#8220;&#8216;+jsonObject.encodedValue+&#8217;&#8221;;&#8217;);</p>
<p>Eric</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Charles</title>
		<link>http://www.pabloviquez.com/2009/07/json-iso-8859-1-and-utf-8-%e2%80%93-part2/comment-page-1/#comment-4588</link>
		<dc:creator>Charles</dc:creator>
		<pubDate>Mon, 03 Aug 2009 17:36:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.pabloviquez.com/?p=200#comment-4588</guid>
		<description>Why go through all this when you can just properly re-encode the string?

header(&#039;Content-type: text/javascript;charset=utf-8&#039;);
$good_result = json_encode(iconv(&#039;ISO-8859-1&#039;, &#039;UTF-8&#039;, $string));</description>
		<content:encoded><![CDATA[<p>Why go through all this when you can just properly re-encode the string?</p>
<p>header(&#8216;Content-type: text/javascript;charset=utf-8&#8242;);<br />
$good_result = json_encode(iconv(&#8216;ISO-8859-1&#8242;, &#8216;UTF-8&#8242;, $string));</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pablo Viquez&#8217; Blog: How to use json_encode with ISO-8859-1 data &#8216;&#34; Part2 &#124; PHP</title>
		<link>http://www.pabloviquez.com/2009/07/json-iso-8859-1-and-utf-8-%e2%80%93-part2/comment-page-1/#comment-4587</link>
		<dc:creator>Pablo Viquez&#8217; Blog: How to use json_encode with ISO-8859-1 data &#8216;&#34; Part2 &#124; PHP</dc:creator>
		<pubDate>Mon, 03 Aug 2009 16:01:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.pabloviquez.com/?p=200#comment-4587</guid>
		<description>[...] Viquez found a few issues with character encoding and the json_encode function. He revisits this in a second look at getting it to cooperate with ISO-8859-1 data.   One solution that I did, in order to preserve [...]</description>
		<content:encoded><![CDATA[<p>[...] Viquez found a few issues with character encoding and the json_encode function. He revisits this in a second look at getting it to cooperate with ISO-8859-1 data.   One solution that I did, in order to preserve [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pablo Viquez&#8217; Blog: How to use json_encode with ISO-8859-1 data &#8216;&#8221; Part2 &#124; Webs Developer</title>
		<link>http://www.pabloviquez.com/2009/07/json-iso-8859-1-and-utf-8-%e2%80%93-part2/comment-page-1/#comment-4584</link>
		<dc:creator>Pablo Viquez&#8217; Blog: How to use json_encode with ISO-8859-1 data &#8216;&#8221; Part2 &#124; Webs Developer</dc:creator>
		<pubDate>Mon, 03 Aug 2009 14:01:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.pabloviquez.com/?p=200#comment-4584</guid>
		<description>[...] Viquez found a few issues with character encoding and the json_encode function. He revisits this in a second look at getting it to cooperate with ISO-8859-1 data.   One solution that I did, in order to preserve [...]</description>
		<content:encoded><![CDATA[<p>[...] Viquez found a few issues with character encoding and the json_encode function. He revisits this in a second look at getting it to cooperate with ISO-8859-1 data.   One solution that I did, in order to preserve [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
