<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
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/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
> <channel><title>Project 2061 Techlog &#187; bug</title> <atom:link href="http://techlog.p2061.org/tag/bug/feed/" rel="self" type="application/rss+xml" /><link>http://techlog.p2061.org</link> <description>Blogging from Project 2061 technology group</description> <lastBuildDate>Tue, 06 Sep 2011 14:49:39 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>Excel drops empty columns on CSV export</title><link>http://techlog.p2061.org/2009/02/06/excel-drops-empty-columns-on-csv-export/</link> <comments>http://techlog.p2061.org/2009/02/06/excel-drops-empty-columns-on-csv-export/#comments</comments> <pubDate>Fri, 06 Feb 2009 21:58:50 +0000</pubDate> <dc:creator>bsweeney</dc:creator> <category><![CDATA[Web Development]]></category> <category><![CDATA[bug]]></category> <category><![CDATA[excel]]></category> <guid
isPermaLink="false">http://techlog.p2061.org/?p=174</guid> <description><![CDATA[I&#8217;m often tasked with getting data from a flat format (Excel, CSV, etc.) into a database. When the format is Excel  and I have only a few files to work with I find it easiest to export the Excel file to CSV or TSV format. This makes it much easier to script the data conversion [...]]]></description> <content:encoded><![CDATA[<p>I&#8217;m often tasked with getting data from a flat format (Excel, CSV, etc.) into a database. When the format is Excel  and I have only a few files to work with I find it easiest to export the Excel file to CSV or TSV format. This makes it much easier to script the data conversion using PHP. There&#8217;s only one problem, Excel doesn&#8217;t always represent the total number of columns in each row. If there are blank values in the columns at the end of a row in the spreadsheet then the exported data may have fewer value delimeters than expected.</p><p>This <a
title="Column delimiters are missing in an Excel spreadsheet that is saved as text" href="http://support.microsoft.com/default.aspx?scid=77295">bug has been documented</a> by Microsoft for Excel 2003 and earlier. The solution given by Microsoft is poorly worded, but basically it says to make sure the cells at the end of a row always contain data. Not always a realistic proposition. Luckily I found a <a
title="from archive.org, original page is unavailable" href="http://web.archive.org/web/20090523102802/http://www.eggheadcafe.com/aspnet_answers/Excelsetup/Aug2006/post27678998.asp">step-by-step solution</a> that works perfectly:</p><p>Put a formula that evaluates to empty (=&#8221;" ) in the last column of  the rows that are empty:</p><ol><li>select the range in the last column: edit-&gt;goto, click on the &#8220;Special&#8230;&#8221; button, Choose &#8220;Blanks&#8221; and click OK.</li><li>type the formula: =&#8221;"</li><li>hit ctrl-enter</li></ol><p>Now when you save the document the appropriate number of delimeters should be present, even in rows with empty cells.</p> ]]></content:encoded> <wfw:commentRss>http://techlog.p2061.org/2009/02/06/excel-drops-empty-columns-on-csv-export/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Stupid Dreamweaver Bug</title><link>http://techlog.p2061.org/2008/03/17/stupid-dreamweaver-bug/</link> <comments>http://techlog.p2061.org/2008/03/17/stupid-dreamweaver-bug/#comments</comments> <pubDate>Mon, 17 Mar 2008 15:38:38 +0000</pubDate> <dc:creator>bwalker</dc:creator> <category><![CDATA[Web Development]]></category> <category><![CDATA[8192]]></category> <category><![CDATA[bug]]></category> <category><![CDATA[cs3]]></category> <category><![CDATA[dreamweaver]]></category> <category><![CDATA[stupid]]></category> <guid
isPermaLink="false">http://techlog.p2061.org/2008/03/17/stupid-dreamweaver-bug/</guid> <description><![CDATA[After making some seemingly insignificant changes to a css file, Dreamweaver CS3/9 suddenly crashed. System restart did not work nor did recreating user config. Before re-installing I chanced upon this blog entry on Google groups. Look for a comment by David Powers regarding a bug wherein if a file is exactly 8,192kb (or a multiple [...]]]></description> <content:encoded><![CDATA[<p>After making some seemingly insignificant changes to a css file, Dreamweaver CS3/9 suddenly crashed.  System restart did not work nor did recreating user config.  Before re-installing I chanced upon <a
href="http://groups.google.com/group/macromedia.dreamweaver/browse_thread/thread/2bf95dcd3d50f50d/dabcaff368ba91da" target="_blank">this blog entry on Google groups</a>.  Look for a comment by David Powers regarding a bug wherein if a file is exactly 8,192kb (or a multiple of), the site caching fails and the application crashes.  Amazingly he was right.  I added a few bytes to the file and problem solved.  This has got to be the stupidest thing I&#8217;ve heard in a while.</p> ]]></content:encoded> <wfw:commentRss>http://techlog.p2061.org/2008/03/17/stupid-dreamweaver-bug/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
