<?xml version="1.0" encoding="iso-8859-1"?>
 <rss version="2.0">
   <channel>
     <title>cogdogblog: Oh, those messy character encodings.. Comments and Trackbacks</title>
     <link>http://cogdogblog.com/alan/archives/2005/01/13/utf8.php</link>
     <description>I recently wrote of some experiments to improved Feed2JS (see the updates fed to the site, bottom of the main page). Specifically, based on the request from a user in Germany, I attempted to change the output to encode content...</description>
     <language>en-us</language>
     <lastBuildDate>Fri, 07 Apr 2006 11:32:47 -0700</lastBuildDate>
     <generator>Movable Type v2.661</generator>
     <ttl>60</ttl>
    <item>
      <title>CDB Entry: Oh, those messy character encodings..</title>
      <description>I recently wrote of some experiments to improved Feed2JS (see the updates fed to the site, bottom of the main page). Specifically, based on the request from a user in Germany, I attempted to change the output to encode content...</description>
      <link>http://cogdogblog.com/alan/archives/2005/01/13/utf8.php</link>
       <pubDate>Thu, 13 Jan 2005 10:27:27 -0700</pubDate>
    </item>
        <item>
     <title>comment by: Teemu Arina</title>
     <description>&lt;p&gt;If you have english text as UTF-8 and display it on a page with ISO-8859-1 or US ASCII, it works fine because UTF-8 is backwards compatible with US ASCII (which in turn is the base for ISO-8859-1).&lt;/p&gt;

&lt;p&gt;Unfortunately, finnish, swedish, french, german and many other european languages that use ISO-8859-? have characters that are not compatible with UTF-8.&lt;/p&gt;

&lt;p&gt;You have to:&lt;/p&gt;

&lt;p&gt;a) Explicitly ask your users to use UTF-8 as the default encoding for their web pages. As feed2js is targetted to less tech-savvy people, this is not a good idea.&lt;/p&gt;

&lt;p&gt;b) Implement an option into your feed2js script to encode the content in UTF-8 or convert the UTF-8 output to some target encoding, for example ISO-8859-1. Obviously you can't easily convert UTF-8 to all encoding formats in existence so you will have to limit your target audience (or sort the problem with a really kick ass UTF-8 to ??? conversion library).&lt;br /&gt;
&lt;/p&gt;</description>
     <link>http://cogdogblog.com/alan/archives/2005/01/13/utf8.php#2008</link>
      <pubDate>Thu, 13 Jan 2005 11:05:27 -0700</pubDate>
     </item>
    

 
  </channel>
</rss>