<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:admin="http://webns.net/mvcb/"
     xmlns:content="http://purl.org/rss/1.0/modules/content/"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
	<channel> 

      <title>Comments on: Pi fine on preview bad on post</title>
      <link>http://metatalk.metafilter.com/3682/Pi-fine-on-preview-bad-on-post/</link>
      <description>Comments on MetaTalk post Pi fine on preview bad on post</description>
	  	  <pubDate>Tue, 25 Nov 2003 15:52:27 -0800</pubDate>
      <lastBuildDate>Tue, 25 Nov 2003 15:52:27 -0800</lastBuildDate>
      <language>en-us</language>
	  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
	  <ttl>60</ttl>

<item>
  	<title>Pi fine on preview bad on post</title>
  	<link>http://metatalk.metafilter.com/3682/Pi-fine-on-preview-bad-on-post</link>	
  	<description>The other day I posted a sentence including the Greek letter pi. This appeared as the Greek letter on preview but came out as a couple of question marks in the actual post. Today a post by languagehat included some Kanji characters and a bit later in the thread he says, darn it, &lt;a href=&quot;http://www.metafilter.com/mefi/29824#591455&quot;&gt;...those characters looked fine on preview&lt;/a&gt;. Can someone explain the difference between preview and live posting when it comes to special characters? Thanks!</description>
  	<guid isPermaLink="false">post:metatalk.metafilter.com,2003:site.3682</guid>
  	<pubDate>Tue, 25 Nov 2003 15:32:00 -0800</pubDate>
  	<dc:creator>jfuller</dc:creator>
</item>
<item>
  	<title>By: elwoodwiles</title>
  	<link>http://metatalk.metafilter.com/3682/Pi-fine-on-preview-bad-on-post#90072</link>	
  	<description>Someone will come along and explain this better, but here I go anyway. Evidently there is something in the coding of MeFi&apos;s comment box that kicks out certain HTML for certain symbols. If you code HTML into a comment, say for example:&lt;br&gt;
&lt;br&gt;
I &amp;hearts; pancakes!! it will show the heart on preview. If you look in the comment box while previewing you&apos;ll even see the characters in the preview box. But the preview box is full of lies. The solution is to write the HTML initially, check it on preview, delete the HTML character and then write the HTML again on preview before you post.</description>
  	<guid isPermaLink="false">comment:metatalk.metafilter.com,2003:site.3682-90072</guid>
  	<pubDate>Tue, 25 Nov 2003 15:52:27 -0800</pubDate>
  	<dc:creator>elwoodwiles</dc:creator>
</item>
<item>
  	<title>By: elwoodwiles</title>
  	<link>http://metatalk.metafilter.com/3682/Pi-fine-on-preview-bad-on-post#90074</link>	
  	<description>I ? pancakes</description>
  	<guid isPermaLink="false">comment:metatalk.metafilter.com,2003:site.3682-90074</guid>
  	<pubDate>Tue, 25 Nov 2003 15:57:36 -0800</pubDate>
  	<dc:creator>elwoodwiles</dc:creator>
</item>
<item>
  	<title>By: gleuschk</title>
  	<link>http://metatalk.metafilter.com/3682/Pi-fine-on-preview-bad-on-post#90075</link>	
  	<description>MetaFilter: the preview box is full of lies.</description>
  	<guid isPermaLink="false">comment:metatalk.metafilter.com,2003:site.3682-90075</guid>
  	<pubDate>Tue, 25 Nov 2003 15:57:56 -0800</pubDate>
  	<dc:creator>gleuschk</dc:creator>
</item>
<item>
  	<title>By: holloway</title>
  	<link>http://metatalk.metafilter.com/3682/Pi-fine-on-preview-bad-on-post#90078</link>	
  	<description>Special characters are unicode characters, and there&apos;s a difference between UTF-8 encoded text (the bytes) and character entities (ASCII strings like &amp;amp;amp;).&lt;br&gt;
&lt;br&gt;
If it was inserted by copy/pasting the character in then it&apos;s probably UTF-8. If the person typed the character entity then it&apos;s (obviously) a character entity.&lt;br&gt;
&lt;br&gt;
UTF-8 could be broken if there was something in the code that wants ASCII or 8879 or something, and breaks on UTF-8 (a while ago Matt mentioned something about a UTF-8 problem with JDBC/ColdFusion MX). The is different code involved in a post preview and a post submission. Preview probably just feeds back your form submission into the webpage, and doesn&apos;t touch the database. If there was a problem with UTF-8 encoded text and the database you wouldn&apos;t see the break until it went through the database (obviously) and it was live.&lt;br&gt;
&lt;br&gt;
Character entities are broken in metafilter because it doesn&apos;t reencode ampersands into &amp;amp;amp; for the form box, which is a simple thing to fix.</description>
  	<guid isPermaLink="false">comment:metatalk.metafilter.com,2003:site.3682-90078</guid>
  	<pubDate>Tue, 25 Nov 2003 16:04:02 -0800</pubDate>
  	<dc:creator>holloway</dc:creator>
</item>
<item>
  	<title>By: dg</title>
  	<link>http://metatalk.metafilter.com/3682/Pi-fine-on-preview-bad-on-post#90084</link>	
  	<description>Also discussed &lt;a href=&quot;http://metatalk.metafilter.com/mefi/3335&quot;&gt;here&lt;/a&gt;, &lt;a href=&quot;http://metatalk.metafilter.com/mefi/2682&quot;&gt;here&lt;/a&gt;, &lt;a href=&quot;http://metatalk.metafilter.com/mefi/2557&quot;&gt;here&lt;/a&gt;, &lt;a href=&quot;http://metatalk.metafilter.com/mefi/2511&quot;&gt;here&lt;/a&gt;, &lt;a href=&quot;http://metatalk.metafilter.com/mefi/2491&quot;&gt;here&lt;/a&gt;, &lt;a href=&quot;http://metatalk.metafilter.com/mefi/2433&quot;&gt;here&lt;/a&gt;, &lt;a href=&quot;http://metatalk.metafilter.com/mefi/2403&quot;&gt;here&lt;/a&gt;, &lt;a href=&quot;http://metatalk.metafilter.com/mefi/2132&quot;&gt;here&lt;/a&gt;, &lt;a href=&quot;http://metatalk.metafilter.com/mefi/1973&quot;&gt;here&lt;/a&gt; and &lt;a href=&quot;http://metatalk.metafilter.com/mefi/128&quot;&gt;here&lt;/a&gt;.</description>
  	<guid isPermaLink="false">comment:metatalk.metafilter.com,2003:site.3682-90084</guid>
  	<pubDate>Tue, 25 Nov 2003 16:29:41 -0800</pubDate>
  	<dc:creator>dg</dc:creator>
</item>
<item>
  	<title>By: holloway</title>
  	<link>http://metatalk.metafilter.com/3682/Pi-fine-on-preview-bad-on-post#90086</link>	
  	<description>Crap, there were a few of those I didn&apos;t post in.</description>
  	<guid isPermaLink="false">comment:metatalk.metafilter.com,2003:site.3682-90086</guid>
  	<pubDate>Tue, 25 Nov 2003 16:33:56 -0800</pubDate>
  	<dc:creator>holloway</dc:creator>
</item>
<item>
  	<title>By: mathowie</title>
  	<link>http://metatalk.metafilter.com/3682/Pi-fine-on-preview-bad-on-post#90091</link>	
  	<description>I think it&apos;s mostly an issue with the JDBC/CFMX connection, since I&apos;m pretty sure I&apos;m storing stuff in MSSQL as utf-8 and I specify utf-8 for all form submissions (which is why it works in preview). It&apos;s when the posts head to the database that there is trouble.</description>
  	<guid isPermaLink="false">comment:metatalk.metafilter.com,2003:site.3682-90091</guid>
  	<pubDate>Tue, 25 Nov 2003 16:40:23 -0800</pubDate>
  	<dc:creator>mathowie</dc:creator>
</item>
<item>
  	<title>By: holloway</title>
  	<link>http://metatalk.metafilter.com/3682/Pi-fine-on-preview-bad-on-post#90096</link>	
  	<description>To fix the entity bug the bit of code that writes between &amp;lt;textarea&amp;gt; needs to replace &amp;amp; with &amp;amp; to keep the entities rather than resolving them, and then that way previews won&apos;t resolve entities into utf-8 data.&lt;br&gt;
&lt;br&gt;
Won&apos;t fix the utf-8 db problem, but then entities will be consistant.&lt;br&gt;
&lt;br&gt;
(heh, you just changed it?)</description>
  	<guid isPermaLink="false">comment:metatalk.metafilter.com,2003:site.3682-90096</guid>
  	<pubDate>Tue, 25 Nov 2003 16:55:08 -0800</pubDate>
  	<dc:creator>holloway</dc:creator>
</item>
<item>
  	<title>By: scarabic</title>
  	<link>http://metatalk.metafilter.com/3682/Pi-fine-on-preview-bad-on-post#90097</link>	
  	<description>I want to ? you in the ?</description>
  	<guid isPermaLink="false">comment:metatalk.metafilter.com,2003:site.3682-90097</guid>
  	<pubDate>Tue, 25 Nov 2003 16:56:37 -0800</pubDate>
  	<dc:creator>scarabic</dc:creator>
</item>
<item>
  	<title>By: scarabic</title>
  	<link>http://metatalk.metafilter.com/3682/Pi-fine-on-preview-bad-on-post#90099</link>	
  	<description>damn! get right on this!</description>
  	<guid isPermaLink="false">comment:metatalk.metafilter.com,2003:site.3682-90099</guid>
  	<pubDate>Tue, 25 Nov 2003 16:56:45 -0800</pubDate>
  	<dc:creator>scarabic</dc:creator>
</item>
<item>
  	<title>By: holloway</title>
  	<link>http://metatalk.metafilter.com/3682/Pi-fine-on-preview-bad-on-post#90101</link>	
  	<description>Oh, so there&apos;s a replacement for &amp;lt;lt; to make it &amp;amp;amp;lt; and &amp;gt;gt; to make it &amp;amp;amp;gt; , but not &amp;amp; to &amp;amp;amp; ?</description>
  	<guid isPermaLink="false">comment:metatalk.metafilter.com,2003:site.3682-90101</guid>
  	<pubDate>Tue, 25 Nov 2003 16:57:51 -0800</pubDate>
  	<dc:creator>holloway</dc:creator>
</item>
<item>
  	<title>By: holloway</title>
  	<link>http://metatalk.metafilter.com/3682/Pi-fine-on-preview-bad-on-post#90102</link>	
  	<description>*cries*</description>
  	<guid isPermaLink="false">comment:metatalk.metafilter.com,2003:site.3682-90102</guid>
  	<pubDate>Tue, 25 Nov 2003 16:58:17 -0800</pubDate>
  	<dc:creator>holloway</dc:creator>
</item>
<item>
  	<title>By: mischief</title>
  	<link>http://metatalk.metafilter.com/3682/Pi-fine-on-preview-bad-on-post#90104</link>	
  	<description>The obvious solution is to use English exclusively and quit trying to be cute/pretentious/know-it-all. ;-P</description>
  	<guid isPermaLink="false">comment:metatalk.metafilter.com,2003:site.3682-90104</guid>
  	<pubDate>Tue, 25 Nov 2003 17:06:47 -0800</pubDate>
  	<dc:creator>mischief</dc:creator>
</item>
<item>
  	<title>By: MiguelCardoso</title>
  	<link>http://metatalk.metafilter.com/3682/Pi-fine-on-preview-bad-on-post#90120</link>	
  	<description>&lt;a href=&quot;http://www.evanizer.com/stuff/cardoso/euro.html&quot;&gt;This classy, classic tutorial&lt;/a&gt; from much-missed Evanizer is very useful.</description>
  	<guid isPermaLink="false">comment:metatalk.metafilter.com,2003:site.3682-90120</guid>
  	<pubDate>Tue, 25 Nov 2003 18:04:45 -0800</pubDate>
  	<dc:creator>MiguelCardoso</dc:creator>
</item>
<item>
  	<title>By: zpousman</title>
  	<link>http://metatalk.metafilter.com/3682/Pi-fine-on-preview-bad-on-post#90145</link>	
  	<description>I *heart* evanizer. &lt;br&gt;
&lt;br&gt;
&lt;small&gt;&lt;small&gt;Fuck &lt;b&gt;that&lt;/b&gt; up mr. metafilter textbox man!&lt;/small&gt;&lt;/small&gt;</description>
  	<guid isPermaLink="false">comment:metatalk.metafilter.com,2003:site.3682-90145</guid>
  	<pubDate>Tue, 25 Nov 2003 20:14:29 -0800</pubDate>
  	<dc:creator>zpousman</dc:creator>
</item>
<item>
  	<title>By: gen</title>
  	<link>http://metatalk.metafilter.com/3682/Pi-fine-on-preview-bad-on-post#90169</link>	
  	<description>&amp;euro;</description>
  	<guid isPermaLink="false">comment:metatalk.metafilter.com,2003:site.3682-90169</guid>
  	<pubDate>Tue, 25 Nov 2003 23:08:30 -0800</pubDate>
  	<dc:creator>gen</dc:creator>
</item>
<item>
  	<title>By: gen</title>
  	<link>http://metatalk.metafilter.com/3682/Pi-fine-on-preview-bad-on-post#90170</link>	
  	<description>well, lookit...it works.</description>
  	<guid isPermaLink="false">comment:metatalk.metafilter.com,2003:site.3682-90170</guid>
  	<pubDate>Tue, 25 Nov 2003 23:08:52 -0800</pubDate>
  	<dc:creator>gen</dc:creator>
</item>
<item>
  	<title>By: i_cola</title>
  	<link>http://metatalk.metafilter.com/3682/Pi-fine-on-preview-bad-on-post#90176</link>	
  	<description>&lt;i&gt;&apos;I think it&apos;s mostly an issue with the JDBC/CFMX connection, since I&apos;m pretty sure I&apos;m storing stuff in MSSQL as utf-8 and I specify utf-8 for all form submissions&apos;&lt;/i&gt;&lt;br&gt;
&lt;br&gt;
WHAT.&lt;br&gt;
THE.&lt;br&gt;
FUCK.&lt;br&gt;
MATT?&lt;br&gt;
&lt;br&gt;
;-)</description>
  	<guid isPermaLink="false">comment:metatalk.metafilter.com,2003:site.3682-90176</guid>
  	<pubDate>Wed, 26 Nov 2003 02:05:25 -0800</pubDate>
  	<dc:creator>i_cola</dc:creator>
</item>
<item>
  	<title>By: chill</title>
  	<link>http://metatalk.metafilter.com/3682/Pi-fine-on-preview-bad-on-post#90180</link>	
  	<description>&lt;i&gt;I&apos;m pretty sure I&apos;m storing stuff in MSSQL as utf-8 and I specify utf-8 for all form submissions&lt;/i&gt;&lt;br&gt;
The character set utf-8 isn&apos;t available in MSSQL, if you want to work in UTF-8 you have to store the data in fields with a Unicode data type (nvarchar etc) and convert to and from UTF-8 on the way in and out. The way I work in an ASP/SQL Server environment is pretty simple...&lt;br&gt;
Form pages come in as UTF-8 (assuming someone hasn&apos;t changed the character set for some reason), and the ASP locale is set to UTF-8. The text fields in the database are nvarchar. Because the server knows that the string is UTF-8 and the field it is going to put it in is Unicode, the conversion is carried out automatically. conversely, when you retrieve data from the database, it knows that the data is unicode and that it has to convert it to UTF-8 when you do a response.write.</description>
  	<guid isPermaLink="false">comment:metatalk.metafilter.com,2003:site.3682-90180</guid>
  	<pubDate>Wed, 26 Nov 2003 03:04:11 -0800</pubDate>
  	<dc:creator>chill</dc:creator>
</item>
<item>
  	<title>By: arto</title>
  	<link>http://metatalk.metafilter.com/3682/Pi-fine-on-preview-bad-on-post#90182</link>	
  	<description>No, i_cola, that&apos;s WTF-M@ encoding.&lt;br&gt;
&lt;br&gt;
HTH.</description>
  	<guid isPermaLink="false">comment:metatalk.metafilter.com,2003:site.3682-90182</guid>
  	<pubDate>Wed, 26 Nov 2003 04:34:18 -0800</pubDate>
  	<dc:creator>arto</dc:creator>
</item>
<item>
  	<title>By: SweetJesus</title>
  	<link>http://metatalk.metafilter.com/3682/Pi-fine-on-preview-bad-on-post#90209</link>	
  	<description>?????!</description>
  	<guid isPermaLink="false">comment:metatalk.metafilter.com,2003:site.3682-90209</guid>
  	<pubDate>Wed, 26 Nov 2003 10:36:08 -0800</pubDate>
  	<dc:creator>SweetJesus</dc:creator>
</item>
<item>
  	<title>By: jfuller</title>
  	<link>http://metatalk.metafilter.com/3682/Pi-fine-on-preview-bad-on-post#90213</link>	
  	<description>&amp;gt; I&apos;m pretty sure I&apos;m storing stuff in MSSQL as utf-8 and I specify utf-8 &lt;br&gt;
&amp;gt;for all form submissions. The character set utf-8 isn&apos;t available in MSSQL, &lt;br&gt;
&amp;gt; if you want to work in UTF-8 you have to store the data in fields with a &lt;br&gt;
&amp;gt; Unicode data type (nvarchar etc) and convert to and from UTF-8 on the &lt;br&gt;
&amp;gt; way in and out. The way I work in an ASP/SQL Server environment is &lt;br&gt;
&amp;gt; pretty simple...&lt;br&gt;
&lt;br&gt;
Understood, you bet. But it&apos;s &lt;i&gt;really hard&lt;/i&gt; to write it all down without those Martian characters.</description>
  	<guid isPermaLink="false">comment:metatalk.metafilter.com,2003:site.3682-90213</guid>
  	<pubDate>Wed, 26 Nov 2003 11:03:14 -0800</pubDate>
  	<dc:creator>jfuller</dc:creator>
</item>
<item>
  	<title>By: bobo123</title>
  	<link>http://metatalk.metafilter.com/3682/Pi-fine-on-preview-bad-on-post#90330</link>	
  	<description>&#x79c1;&#x306f;&#x6f22;&#x5b57;&#x3092;&#x597d;&#x3080;&#x3002;&lt;br&gt;
&lt;br&gt;
Character entities work fine ( for example: &amp;amp;#x65e5;&amp;amp;#x672c; = &#x65e5;&#x672c;) but it&apos;s sort of a pain to figure out what code goes with what character. And when you hit preview it wipes all your codes from the entry window so you have to type them in again.</description>
  	<guid isPermaLink="false">comment:metatalk.metafilter.com,2003:site.3682-90330</guid>
  	<pubDate>Wed, 26 Nov 2003 22:46:28 -0800</pubDate>
  	<dc:creator>bobo123</dc:creator>
</item>
<item>
  	<title>By: punishinglemur</title>
  	<link>http://metatalk.metafilter.com/3682/Pi-fine-on-preview-bad-on-post#90526</link>	
  	<description>????????.</description>
  	<guid isPermaLink="false">comment:metatalk.metafilter.com,2003:site.3682-90526</guid>
  	<pubDate>Sun, 30 Nov 2003 15:11:25 -0800</pubDate>
  	<dc:creator>punishinglemur</dc:creator>
</item>
<item>
  	<title>By: punishinglemur</title>
  	<link>http://metatalk.metafilter.com/3682/Pi-fine-on-preview-bad-on-post#90527</link>	
  	<description>??&lt;br&gt;
&#x65e5;&#x672c;</description>
  	<guid isPermaLink="false">comment:metatalk.metafilter.com,2003:site.3682-90527</guid>
  	<pubDate>Sun, 30 Nov 2003 15:11:44 -0800</pubDate>
  	<dc:creator>punishinglemur</dc:creator>
</item>

    </channel>
</rss>