<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" 
      xmlns:thr="http://purl.org/syndication/thread/1.0">
  <link rel="alternate" type="text/html" href="http://forums.movabletype.org/2009/12/proper-way-to-translate.html" />
  <link rel="self" type="application/atom+xml" href="http://forums.movabletype.org/atom.xml" />
  <id>tag:forums.movabletype.org,2011://24/tag:forums.movabletype.org,2009://24.18788-</id>
  <updated>2011-09-01T02:22:47Z</updated>
  <title>Comments for Proper way to translate</title>
  
  <generator uri="http://www.sixapart.com/movabletype/">Movable Type 4.292</generator>
  <entry>
    <id>tag:forums.movabletype.org,2009://24.18788</id>
    <link rel="alternate" type="text/html" href="http://forums.movabletype.org/2009/12/proper-way-to-translate.html" />
    <link rel="service.edit" type="application/atom+xml" href="http://www.movabletype.org/cgi-bin/mt/mt-atom.cgi/weblog/blog_id=24/entry_id=18788" title="Proper way to translate" />
    <published>2009-12-17T20:09:25Z</published>
    <updated>2009-12-17T21:25:48Z</updated>
    <title>Proper way to translate</title>
    <summary>What is the proper template-tag way to decode/encode &quot;smart&quot; quotes and apostrophes from RSS feeds that get translated to (I think) odd unicode characters? E.g.: quotation marks and apostrophes that get changed to things like this: â€™s â€œ,â€ ....</summary>
    <author>
      <name>Culture Snob</name>
      <uri>http://www.culturesnob.net</uri>
    </author>
    
    <category term="Design, Templates, &amp; Tags" />
    
    <content type="html" xml:lang="en" xml:base="http://forums.movabletype.org/">
      <![CDATA[<p>What is the proper template-tag way to decode/encode "smart" quotes and apostrophes from RSS feeds that get translated to (I think) odd unicode characters?</p>

<p>E.g.: quotation marks and apostrophes that get changed to things like this: â€™s â€œ,â€ .</p>]]>
      
    </content>
  </entry>

  <entry>
    <id>tag:forums.movabletype.org,2009://24.18788-comment:34776</id>
    <thr:in-reply-to ref="tag:forums.movabletype.org,2009://24.18788" type="text/html" href="http://forums.movabletype.org/2009/12/proper-way-to-translate.html"/>
    <link rel="alternate" type="text/html" href="http://forums.movabletype.org/2009/12/proper-way-to-translate.html#c34776" />
    <title>Comment from Mihai Bocsaru on 2009-12-17</title>
    <author>
        <name>Mihai Bocsaru</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>That means bad encoding and it is not fixable via decoding special characters...</p>]]>
    </content>
    <published>2009-12-17T20:20:16Z</published>
  </entry>

  <entry>
    <id>tag:forums.movabletype.org,2009://24.18788-comment:34778</id>
    <thr:in-reply-to ref="tag:forums.movabletype.org,2009://24.18788" type="text/html" href="http://forums.movabletype.org/2009/12/proper-way-to-translate.html"/>
    <link rel="alternate" type="text/html" href="http://forums.movabletype.org/2009/12/proper-way-to-translate.html#c34778" />
    <title>Comment from Mihai Bocsaru on 2009-12-17</title>
    <author>
        <name>Mihai Bocsaru</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>So if you add inside movable type a curly quote, but on your Web page it is changed into garbage characters like the ones you've listed above I would imagine that while your movable type admin is set to the UTF-8 charset, either your template refers to ISO, or the server is imposing an ISO charset for all your site files.</p>

<p>You could fix both scenarios, by either editing the template and having the charset as UTF-8, or patching .htaccess and imposing the UFT-8 charset like:</p>

<p>Content-Type: text/html; charset=utf-8</p>]]>
    </content>
    <published>2009-12-17T20:23:52Z</published>
  </entry>

  <entry>
    <id>tag:forums.movabletype.org,2009://24.18788-comment:34780</id>
    <thr:in-reply-to ref="tag:forums.movabletype.org,2009://24.18788" type="text/html" href="http://forums.movabletype.org/2009/12/proper-way-to-translate.html"/>
    <link rel="alternate" type="text/html" href="http://forums.movabletype.org/2009/12/proper-way-to-translate.html#c34780" />
    <title>Comment from Culture Snob on 2009-12-17</title>
    <author>
        <name>Culture Snob</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>Thanks. So is there a way to do it through MT outside of the normal decode/encode template-tag modifiers?</p>]]>
    </content>
    <published>2009-12-17T20:24:19Z</published>
  </entry>

  <entry>
    <id>tag:forums.movabletype.org,2009://24.18788-comment:34782</id>
    <thr:in-reply-to ref="tag:forums.movabletype.org,2009://24.18788" type="text/html" href="http://forums.movabletype.org/2009/12/proper-way-to-translate.html"/>
    <link rel="alternate" type="text/html" href="http://forums.movabletype.org/2009/12/proper-way-to-translate.html#c34782" />
    <title>Comment from Culture Snob on 2009-12-17</title>
    <author>
        <name>Culture Snob</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>Thanks. Changing the charset in the header through a meta tag fixed the problem.</p>]]>
    </content>
    <published>2009-12-17T20:33:49Z</published>
  </entry>

  <entry>
    <id>tag:forums.movabletype.org,2009://24.18788-comment:34786</id>
    <thr:in-reply-to ref="tag:forums.movabletype.org,2009://24.18788" type="text/html" href="http://forums.movabletype.org/2009/12/proper-way-to-translate.html"/>
    <link rel="alternate" type="text/html" href="http://forums.movabletype.org/2009/12/proper-way-to-translate.html#c34786" />
    <title>Comment from Mihai Bocsaru on 2009-12-17</title>
    <author>
        <name>Mihai Bocsaru</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>You're welcome!</p>]]>
    </content>
    <published>2009-12-17T21:25:48Z</published>
  </entry>

</feed>

