<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>lekkimworld.comcharset</title>
    <link>http://lekkimworld.com/tags/charset/</link>
    <description>IBM Lotus Notes/Domino, Websphere, IBM Connections, mobile, web, JavaScript, Java...</description>
    <language>en</language>
    <copyright>Mikkel Flindt Heisterberg (mh [at] intravision [dot] dk</copyright>
    <pubDate>Sat, 19 May 2012 06:50:25 GMT</pubDate>
    <dc:creator>Mikkel Flindt Heisterberg (mh [at] intravision [dot] dk</dc:creator>
    <dc:date>2012-05-19T06:50:25Z</dc:date>
    <dc:language>en</dc:language>
    <dc:rights>Mikkel Flindt Heisterberg (mh [at] intravision [dot] dk</dc:rights>
    <image>
      <title>lekkimworld.comcharset</title>
      <url>http://lekkimworld.com/tags/charset/</url>
    </image>
    <item>
      <title>AJAX and character sets</title>
      <link>http://lekkimworld.com/2007/02/20/ajax_and_character_sets.html</link>
      <content:encoded>&lt;p&gt;
Being from a country that uses characters outside the ASCII range we are often times struggling with character set issues and today was no different. Well it was... Today I found the solution that has been eluding me for a long time.
&lt;/p&gt;
&lt;p&gt;
We have been having issues with national characters in content being returned in AJAX calls for documents sent using the text/plain MIME-type (e.g. &lt;a href="http://www.json.org"&gt;JSON&lt;/a&gt;). Apparently the XMLHTTPRequest used on most platforms assumes that the content it receives is in UTF-8 so if you're having issues with encoding check the charset. Changing the character set in the servlet generating the data (Content-Type: text/plain;charset=UTF-8) and on the page (using a meta-tag) solved the issue.
&lt;/p&gt;</content:encoded>
      <category domain="http://lekkimworld.com/categories/java/">Java</category>
      <category domain="http://lekkimworld.com/tags/ajax/">ajax</category>
      <category domain="http://lekkimworld.com/tags/charset/">charset</category>
      <category domain="http://lekkimworld.com/tags/java/">java</category>
      <category domain="http://lekkimworld.com/tags/xmlhttprequest/">xmlhttprequest</category>
      <pubDate>Tue, 20 Feb 2007 08:24:39 GMT</pubDate>
      <guid isPermaLink="false">tag:lekkimworld.com,2007-02-20:default/1171959879239</guid>
      <dc:date>2007-02-20T08:24:39Z</dc:date>
    </item>
  </channel>
</rss>


