<?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>David Smeringe weblog &#187; Uncategorized</title>
	<atom:link href="http://people.merea.se/david/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://people.merea.se/david</link>
	<description>programming and web design centric weblog</description>
	<lastBuildDate>Mon, 28 Feb 2011 08:59:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Speed up your basic work for new sites</title>
		<link>http://people.merea.se/david/2011/02/24/speed-up-your-basic-work-for-new-sites/</link>
		<comments>http://people.merea.se/david/2011/02/24/speed-up-your-basic-work-for-new-sites/#comments</comments>
		<pubDate>Thu, 24 Feb 2011 08:24:57 +0000</pubDate>
		<dc:creator>David Smeringe</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Markups and javascripts]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[web life]]></category>
		<category><![CDATA[boilertemplate]]></category>
		<category><![CDATA[efficiency]]></category>
		<category><![CDATA[framework]]></category>
		<category><![CDATA[grid960]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[template]]></category>

		<guid isPermaLink="false">http://people.merea.se/david/?p=101</guid>
		<description><![CDATA[From time to time I create a new site (actually, that&#8217;s kind of what my job is all about.. ). Such job is usually quite similar from one site to another. In order to simplify this process and &#8211; perhaps even more valuable &#8211; increase the production quality, I use frameworks and boiler templates. Currently [...]]]></description>
			<content:encoded><![CDATA[<p>From time to time I create a new site (actually, that&#8217;s kind of what my job is all about.. <img src='http://people.merea.se/david/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> ). Such job is usually quite similar from one site to another. In order to simplify this process and &#8211; perhaps even more valuable &#8211; increase the production quality, I use frameworks and boiler templates. Currently my favourite setup is the HTML5 Boilertemplate together with grid960. </p>
<p>Let me introduce the two of them for you.</p>
<p>HTML5 Boilerplate:</p>
<p>This is what it sounds like. A basic proof-of-concept foundation for any website what so ever. No need to invent the wheel all over again. It&#8217;s important to notice though that it&#8217;s not a framework, but a ready made template setup which you then can (usually) scale down safely as well as add on to, to fit your needs. </p>
<p>That&#8217;s where the nice CSS Framework grid960 comes in! <img src='http://people.merea.se/david/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>The Grid960 is much more of a framework (as far as you can speak of frameworks in CSS). It gives you ready made CSS classes for a grid-splitted layout with a set width (960). Quoting their site;</p>
<blockquote><p>&#8220;All modern monitors support at least 1024 × 768 pixel resolution. 960 is divisible by 2, 3, 4, 5, 6, 8, 10, 12, 15, 16, 20, 24, 30, 32, 40, 48, 60, 64, 80, 96, 120, 160, 192, 240, 320 and 480. This makes it a highly flexible base number to work with.&#8221;</p>
</blockquote>
<p>There are really nice plugins for Photoshop/AI/Fireworks/Dreamweaver that makes life even easier. </p>
<p>Applying the 960 grid to your boiler template is just a matter of adding the 960.css right after the boilerplates style.css link-tag (Ignore the reset and text css).</p>
<p>Read more about these two at</p>
<p><a href="http://mashable.com/2010/09/02/html5-boilerplate-guide/">http://mashable.com/2010/09/02/html5-boilerplate-guide/</a> &#8211; Short intro</p>
<p><a href="http://html5boilerplate.com/">http://html5boilerplate.com/</a>- Home of the boilerplate</p>
<p><a href="http://960.gs/">http://960.gs/</a> &#8211; Home of the CSS grid</p>
<p>..and Some <a href="https://github.com/paulirish/html5-boilerplate/issues/50/#issue/50">QA for boilertemplate @github</a></p>
<p>Next up will be chopping it upp all again to fit the CMS or whatever system it needs to fit into <img src='http://people.merea.se/david/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  (TYPO3 maybe?!)</p>
<p>Updates 24 feb 2011:</p>
<p>Here are some adjustments or additions when working with boilerplate and TYPO3:</p>
<p><code lang="ts"></p>
<p>config.doctype = &lt;!doctype html&gt;</p>
<p>config.renderCharset = utf-8</p>
<p>config.htmlTag_langKey = sv</p>
<p>config.htmlTag_setParams = class='no-js.js'</p>
<p>[browser = msie] &#038;&#038; [version = <7]</p>
<p>config.htmlTag_setParams = class='no-js.js ie6'</p>
<p>[global]</p>
<p>[browser = msie] &#038;&#038; [version = 7]</p>
<p>config.htmlTag_setParams = class='no-js.js ie7'</p>
<p>[global]</p>
<p>[browser = msie] &#038;&#038; [version = 8]</p>
<p>config.htmlTag_setParams = class='no-js.js ie8'</p>
<p>[global]</p>
<p>[browser = msie] &#038;&#038; [version = 9]</p>
<p>config.htmlTag_setParams = class='no-js.js ie9'</p>
<p>[global]</p>
<p></code></p>
]]></content:encoded>
			<wfw:commentRss>http://people.merea.se/david/2011/02/24/speed-up-your-basic-work-for-new-sites/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>nominate FLOW3 and TYPO3 for SF community awards</title>
		<link>http://people.merea.se/david/2009/05/19/nominate-flow3-and-typo3-for-sf-community-awards/</link>
		<comments>http://people.merea.se/david/2009/05/19/nominate-flow3-and-typo3-for-sf-community-awards/#comments</comments>
		<pubDate>Tue, 19 May 2009 21:26:12 +0000</pubDate>
		<dc:creator>David Smeringe</dc:creator>
				<category><![CDATA[Typo3]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[award]]></category>

		<guid isPermaLink="false">http://people.merea.se/david/?p=55</guid>
		<description><![CDATA[Show your support for TYPO3 and the upcoming framework FLOW3 and nominate them for a soure forge community award. Hit this image to nominate FLOW3 for &#8220;Best New Project&#8221; and &#8220;Most Likely to Change the Way You Do Everything&#8221; ..or, hit this button to nominate TYPO3 for &#8220;Best Project&#8221; and &#8220;Best Project for the Enterprise&#8221; [...]]]></description>
			<content:encoded><![CDATA[<p>Show your support for TYPO3 and the upcoming framework FLOW3 and nominate them for a <a title="SF community award" href="http://ir.corp.sourceforge.com/phoenix.zhtml?c=82629&amp;p=irol-newsArticle&amp;ID=1285349">soure forge community award</a>.</p>
<p>Hit this image to nominate FLOW3 for &#8220;Best New Project&#8221; and &#8220;Most Likely to Change the Way You Do Everything&#8221;<br />
<a href="http://sourceforge.net/community/cca09/nominate/?project_name=FLOW3&amp;project_url=http://flow3.typo3.org/"> <img src="http://sourceforge.net/images/cca/cca_nominate.png" border="0" alt="" /></a></p>
<p>..or, hit this button to nominate TYPO3 for &#8220;Best Project&#8221; and &#8220;Best Project for the Enterprise&#8221;<a href="http://sourceforge.net/community/cca09/nominate/?project_name=TYPO3&amp;project_url=http://typo3.org/"><br />
<img src="http://sourceforge.net/images/cca/cca_nominate.png" border="0" alt="" /></a></p>
<p>There aint much more to say about that <img src='http://people.merea.se/david/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://people.merea.se/david/2009/05/19/nominate-flow3-and-typo3-for-sf-community-awards/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>je t&#8217;aim MS Exchange &#8211; not!</title>
		<link>http://people.merea.se/david/2009/02/17/je-taim-ms-exchange-not/</link>
		<comments>http://people.merea.se/david/2009/02/17/je-taim-ms-exchange-not/#comments</comments>
		<pubDate>Tue, 17 Feb 2009 10:17:38 +0000</pubDate>
		<dc:creator>David Smeringe</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[anoyance]]></category>
		<category><![CDATA[exchange]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[smtp]]></category>

		<guid isPermaLink="false">http://people.merea.se/david/?p=52</guid>
		<description><![CDATA[Seriously. We&#8217;re using Exchange as our group and mail server. And it&#8217;s been working rather good I must say. What I thought. Found out now that &#8211; at least since SP2 &#8211; we&#8217;ve had serious troubles sending to mail servers using grey listning. funny&#8230; One fix is to add a batch script restarting smtp server [...]]]></description>
			<content:encoded><![CDATA[<p>Seriously. We&#8217;re using Exchange as our group and mail server. And it&#8217;s been working rather good I must say. What I thought. Found out now that &#8211; at least since SP2 &#8211; we&#8217;ve had serious troubles sending to mail servers using grey listning. funny&#8230; One fix is to add a batch script restarting smtp server every day (forcing it to resend the queued mail). I gave up and added a smarthost instead and now I rely on my broadband provider.</p>
<p>So now I&#8217;m waiting for people to start reacting on my old mails finally delivered. Wooho. <img src='http://people.merea.se/david/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>For anyone else forced to play exchange-guru on your own due to costs or whatever.. this is what I did:</p>
<ul>
<li>Added a scheduled batch script restarting the smtp server<br />
net stop smtpsvc<br />
net start smtpsvc</li>
<li>Added a non-existing registry key:<br />
HKLM\System\CurrentControlSet\Services\SMTPSVC\Queuing\<br />
&#8220;GlitchRetrySeconds&#8221; &#8211; DWORD set to 300.</li>
<li>Added my broadband providers smtp server as a smarthost in Exchange following http://www.arrowmail.co.uk/howto/smrthost.aspx</li>
</ul>
<p>Hope helps someone else. Now back to real work. Back to my PHP code, away from Exchange, away from Windows server..</p>
]]></content:encoded>
			<wfw:commentRss>http://people.merea.se/david/2009/02/17/je-taim-ms-exchange-not/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>create new record link with TCE</title>
		<link>http://people.merea.se/david/2008/08/08/create-new-record-link-with-tce/</link>
		<comments>http://people.merea.se/david/2008/08/08/create-new-record-link-with-tce/#comments</comments>
		<pubDate>Fri, 08 Aug 2008 06:57:33 +0000</pubDate>
		<dc:creator>David Smeringe</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Typo3]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[example]]></category>
		<category><![CDATA[tce]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://people.merea.se/david/?p=38</guid>
		<description><![CDATA[If you need a &#8216;create new record&#8217; link in BE of TYPO3 and also need to supply some default values, this is the way; $params = &#34;&#38;amp;edit[$mapTable][123]=new&#38;amp;defVals[$mapTable][name]=banana&#38;amp;defVals[$mapTable][codename]=hajaja&#34;; $aOnClick = t3lib_BEfunc::editOnClick&#40;$params,&#8216;../../../../&#8217;.TYPO3_mainDir&#41;; $icon = &#8216;&#60;img&#8217;.t3lib_iconWorks::skinImg&#40;$this-&#62;doc-&#62;backPath,&#8216;gfx/edit2.gif&#8217;,&#8221;&#41;.&#8216; title=&#34;Create secret agent&#34; alt=&#34;&#34; style=&#34;border:0;&#34; /&#62;&#8217;; &#160; //print a pen icon with the link $HTML = &#8216;&#60;a href=&#34;#&#34; onclick=&#34;&#8217;.$aOnClick.&#8216;&#34;&#62;&#8217;.$icon.&#8216;&#60;/a&#62;&#8217;; &#160; So, what [...]]]></description>
			<content:encoded><![CDATA[<p>If you need a &#8216;create new record&#8217; link in BE of TYPO3 and also need to supply some default values, this is the way;</p>
<div class="dean_ch" style="white-space: nowrap;">
<ol>
<li class="li1">
<div class="de1"><span class="re0">$params</span> = <span class="st0">&quot;&amp;amp;edit[$mapTable][123]=new&amp;amp;defVals[$mapTable][name]=banana&amp;amp;defVals[$mapTable][codename]=hajaja&quot;</span>;</div>
</li>
<li class="li1">
<div class="de1"><span class="re0">$aOnClick</span> = t3lib_BEfunc::<span class="me2">editOnClick</span><span class="br0">&#40;</span><span class="re0">$params</span>,<span class="st0">&#8216;../../../../&#8217;</span>.TYPO3_mainDir<span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1"><span class="re0">$icon</span> = <span class="st0">&#8216;&lt;img&#8217;</span>.t3lib_iconWorks::<span class="me2">skinImg</span><span class="br0">&#40;</span><span class="re0">$this</span>-&gt;<span class="me1">doc</span>-&gt;<span class="me1">backPath</span>,<span class="st0">&#8216;gfx/edit2.gif&#8217;</span>,<span class="st0">&#8221;</span><span class="br0">&#41;</span>.<span class="st0">&#8216; title=&quot;Create secret agent&quot; alt=&quot;&quot; style=&quot;border:0;&quot; /&gt;&#8217;</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li2">
<div class="de2"><span class="co1">//print a pen icon with the link</span></div>
</li>
<li class="li1">
<div class="de1"><span class="re0">$HTML</span> = <span class="st0">&#8216;&lt;a href=&quot;#&quot; onclick=&quot;&#8217;</span>.<span class="re0">$aOnClick</span>.<span class="st0">&#8216;&quot;&gt;&#8217;</span>.<span class="re0">$icon</span>.<span class="st0">&#8216;&lt;/a&gt;&#8217;</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
</ol>
</div>
<p>So, what we do is setting up necessary parameters for alt_doc.php to perform cmd actions. In this example I use;</p>
<p><strong>edit[<em>table name</em>][<em>uid </em>OR<em> pid</em> OR <em>-uid</em>]=<em>command</em></strong> &#8211; use uid and the command edit to edit a uid, otherswise (as I do  above) use pid and new as command to create a new record in a certain pid. A negative uid together with the new command Creates a new record right after the supplied uid.<br />
<strong>defVals[<em>table name</em>][<em>table column</em>]=<em>value</em></strong> &#8211; two times. This sets default values for my two fields; name and codename.</p>
<p>Then assemble the parameters with the TYPO3 API call  t3lib_BEfunc::editOnClick(); into a javascript call.</p>
]]></content:encoded>
			<wfw:commentRss>http://people.merea.se/david/2008/08/08/create-new-record-link-with-tce/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>It&#8217;s a boy!</title>
		<link>http://people.merea.se/david/2008/06/08/its-a-boy/</link>
		<comments>http://people.merea.se/david/2008/06/08/its-a-boy/#comments</comments>
		<pubDate>Sun, 08 Jun 2008 08:12:31 +0000</pubDate>
		<dc:creator>David Smeringe</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://people.merea.se/david/?p=36</guid>
		<description><![CDATA[I&#8217;ve become a father once again, and once again it was a boy! a truly lovely one as well. See some pictures (&#8220;bäbis 08&#8243;) at http://people.merea.se/david/site/index.php?id=23]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve become a father once again, and once again it was a boy! a truly lovely one as well. See some pictures (&#8220;bäbis 08&#8243;) at <a href="http://people.merea.se/david/site/index.php?id=23">http://people.merea.se/david/site/index.php?id=23</a></p>
]]></content:encoded>
			<wfw:commentRss>http://people.merea.se/david/2008/06/08/its-a-boy/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Screen dump of the day</title>
		<link>http://people.merea.se/david/2008/05/22/screen-dump-of-the-day/</link>
		<comments>http://people.merea.se/david/2008/05/22/screen-dump-of-the-day/#comments</comments>
		<pubDate>Thu, 22 May 2008 07:45:43 +0000</pubDate>
		<dc:creator>David Smeringe</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[screendump]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://people.merea.se/david/?p=33</guid>
		<description><![CDATA[Just for the nerd fun of it and for that I really like the look n feel of my desktop right now &#8211; here&#8217;s screen dump of my every day ubuntu environment..]]></description>
			<content:encoded><![CDATA[<p>Just for the nerd fun of it and for that I really like the look n feel of my desktop right now &#8211; here&#8217;s screen dump of my every day ubuntu environment..</p>
<p><a href="http://people.merea.se/david/wp-content/uploads/2008/05/todays_screendump_080522.png"><img class="alignnone size-medium wp-image-35" title="todays_screendump_080522" src="http://people.merea.se/david/wp-content/uploads/2008/05/todays_screendump_080522-300x187.png" alt="" width="300" height="187" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://people.merea.se/david/2008/05/22/screen-dump-of-the-day/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fixing an eclipse crach</title>
		<link>http://people.merea.se/david/2008/05/06/fixing-an-eclipse-crach/</link>
		<comments>http://people.merea.se/david/2008/05/06/fixing-an-eclipse-crach/#comments</comments>
		<pubDate>Tue, 06 May 2008 18:40:48 +0000</pubDate>
		<dc:creator>David Smeringe</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Linux things]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[editors/ides/rads]]></category>

		<guid isPermaLink="false">http://people.merea.se/david/?p=28</guid>
		<description><![CDATA[Recently I wasn&#8217;t able to start up my Eclipse (vaugly remembering having an X-hangup &#8211; x-windows crach I mean). All I got was a small error dialog with a reference to eclipse log file containing huge traceback of java exceptions.. I didn&#8217;t have the time or energy to trace this so I swaped to jEdit [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I wasn&#8217;t able to start up my Eclipse (vaugly remembering having an X-hangup &#8211; x-windows crach I mean). All I got was a small error dialog with a reference to eclipse log file containing huge traceback of java exceptions.. I didn&#8217;t have the time or energy to trace this so I swaped to jEdit for a while.</p>
<p>Sooner or later one has to deal with the problems. The <em>later</em> was today.. My method became deleting each plugin path under [workspace path]/.metadata/.plugins/</p>
<p>The solution was quite simple.. I removed the file .snap in the [workspace path]/.metadata/.plugins/org.eclipse.core.resources/ path and it started working again! <img src='http://people.merea.se/david/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>I&#8217;m no expert in how Eclipse handles it&#8217;s workspace data, but apparently I lost associated projects.. ..but that&#8217;s that not so tuff to add again.</p>
]]></content:encoded>
			<wfw:commentRss>http://people.merea.se/david/2008/05/06/fixing-an-eclipse-crach/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>GMENU/GIFBUILDER broke my swedish characters</title>
		<link>http://people.merea.se/david/2007/03/08/gmenugifbuilder-broke-my-swedish-characters/</link>
		<comments>http://people.merea.se/david/2007/03/08/gmenugifbuilder-broke-my-swedish-characters/#comments</comments>
		<pubDate>Thu, 08 Mar 2007 10:01:56 +0000</pubDate>
		<dc:creator>David Smeringe</dc:creator>
				<category><![CDATA[Design/graphics]]></category>
		<category><![CDATA[Typo3]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://people.merea.se/david/2007/03/08/gmenugifbuilder-broke-my-swedish-characters/</guid>
		<description><![CDATA[We&#8217;ve been working on a site for a customer for some time now based on TYPO3. As the the respect to typographical issues where important we decided to go forth using GMENU and GIFBUILDER for menus and headings. I really like the concept of GIFBUILDER and working with it. Sadly we got problems with non [...]]]></description>
			<content:encoded><![CDATA[<p>We&#8217;ve been working on a site for a customer for some time now based on TYPO3. As the the respect to typographical issues where important we decided to go forth using GMENU and GIFBUILDER for menus and headings. I really like the concept of GIFBUILDER and working with it. Sadly we got problems with non ascii characters like our swedish åäö and such. They where replaced by ugly boxes.</p>
<p><a href='http://people.merea.se/david/wp-content/uploads/2007/03/buggy_character_gifbuilder.png' title='Character Ö is replaced by a box..'><img src='http://people.merea.se/david/wp-content/uploads/2007/03/buggy_character_gifbuilder.thumbnail.png' alt='Character Ö is replaced by a box..' /></a></p>
<p>So, why on earth did this happend I questioned my self.. and people on #typo3 @ irc.freenode.org.</p>
<p><strong>I ended up with these suggestions/requirements:</strong></p>
<ol>
<li>Make sure you use utf-8 all the way. Gifbuilder (probably GD/freetype really)</li>
<li>Check that the font you use is unicode</li>
<li>Check configuration for mbstring (or iconv) that gifbuilder uses</li>
</ol>
<p>I did all this. Utf-8 was a requirement for the project as the site will be on both chinese, swedish and english. The font seemed to be in Unicode as well (as far as I could tell). And mbstring was working like a charm..</p>
<p>It&#8217;s importent to mention that the development server was a windows server. </p>
<p>Anyway. I copied the site to my local windows computer and tested it. The same buggy result. The I copied it to my own webserver running on debian linux and there it worked! Why? Donno.. However. I went back to my local computer and replaced the font with arial. I got nifty åäö all the sudden. This at least allowed me to assume that it had something to do with the font file (a .otf file btw). The only solution I could think of now would be to convert the font hopfully to utf-8. I got merely no experience with typographical things so this was a blank area for me, but after som googleing I stumbled upon fontforge (http://fontforge.sf.net). It&#8217;s actually a *NIX application but I installed Cygwin (along with xfce4), and the cygwin port of fontforge. Wow what an app! A really crappy gui, but wow! <img src='http://people.merea.se/david/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  </p>
<p><a href='http://people.merea.se/david/wp-content/uploads/2007/03/fontforge_cygwin_dump.png' title='fontforge with cygwin'><img src='http://people.merea.se/david/wp-content/uploads/2007/03/fontforge_cygwin_dump.thumbnail.png' alt='fontforge with cygwin' /></a></p>
<p>So, I went on and converted my .otf font forcing it to Full unicode, replaced it in my exsisting font on the site. It worked like a charm!</p>
<p>My final configuration on every aspect turned out like this:</p>
<p><strong>localconf.php:</strong></p>
<div class="dean_ch" style="white-space: nowrap;">
<ol>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li1">
<div class="de1"><span class="co1">// UTF-8 support</span></div>
</li>
<li class="li1">
<div class="de1"><span class="re0">$TYPO3_CONF_VARS</span><span class="br0">&#91;</span><span class="st0">&#8216;GFX&#8217;</span><span class="br0">&#93;</span><span class="br0">&#91;</span><span class="st0">&#8216;gdlib_2&#8242;</span><span class="br0">&#93;</span> = <span class="st0">&#8217;1&#8242;</span>;</div>
</li>
<li class="li1">
<div class="de1"><span class="re0">$TYPO3_CONF_VARS</span><span class="br0">&#91;</span><span class="st0">&#8216;BE&#8217;</span><span class="br0">&#93;</span><span class="br0">&#91;</span><span class="st0">&#8216;forceCharset&#8217;</span><span class="br0">&#93;</span> = <span class="st0">&#8216;utf-8&#8242;</span>;&nbsp;</div>
</li>
<li class="li2">
<div class="de2"><span class="co1">// For GIFBUILDER support</span></div>
</li>
<li class="li1">
<div class="de1"><span class="co1">// Set it to &#8216;iconv&#8217; or &#8216;mbstring&#8217;</span></div>
</li>
<li class="li1">
<div class="de1"><span class="re0">$TYPO3_CONF_VARS</span><span class="br0">&#91;</span><span class="st0">&#8216;SYS&#8217;</span><span class="br0">&#93;</span><span class="br0">&#91;</span><span class="st0">&#8216;t3lib_cs_convMethod&#8217;</span><span class="br0">&#93;</span> = <span class="st0">&#8216;mbstring&#8217;</span>;</div>
</li>
<li class="li1">
<div class="de1"><span class="co1">// For &#8216;iconv&#8217; support you need PHP 5!</span></div>
</li>
<li class="li1">
<div class="de1"><span class="re0">$TYPO3_CONF_VARS</span><span class="br0">&#91;</span><span class="st0">&#8216;SYS&#8217;</span><span class="br0">&#93;</span><span class="br0">&#91;</span><span class="st0">&#8216;t3lib_cs_utils&#8217;</span><span class="br0">&#93;</span> = <span class="st0">&#8216;mbstring&#8217;</span>;</div>
</li>
<li class="li2">
<div class="de2"><span class="co1">// For Asian languages</span></div>
</li>
<li class="li1">
<div class="de1"><span class="re0">$TYPO3_CONF_VARS</span><span class="br0">&#91;</span><span class="st0">&#8216;SYS&#8217;</span><span class="br0">&#93;</span><span class="br0">&#91;</span><span class="st0">&#8216;multiplyDBfieldSize&#8217;</span><span class="br0">&#93;</span> = <span class="nu0">3</span>;</div>
</li>
<li class="li1">
<div class="de1"><span class="co1">//force db communication to utf8</span></div>
</li>
<li class="li1">
<div class="de1"><span class="re0">$TYPO3_CONF_VARS</span><span class="br0">&#91;</span><span class="st0">&#8216;SYS&#8217;</span><span class="br0">&#93;</span><span class="br0">&#91;</span><span class="st0">&#8216;setDBinit&#8217;</span><span class="br0">&#93;</span> = <span class="st0">&#8216;SET NAMES utf8;&#8217;</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
</ol>
</div>
<p><strong>Typoscript</strong></p>
<div class="dean_ch" style="white-space: nowrap;">
<ol>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li1">
<div class="de1">## GIFBUILDER HEADING RENDER SETUP ########
</div>
</li>
<li class="li1">
<div class="de1">##
</div>
</li>
<li class="li2">
<div class="de2">##### Header 1
</div>
</li>
<li class="li1">
<div class="de1">cHeader1 = IMAGE
</div>
</li>
<li class="li1">
<div class="de1">cHeader1 {
</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; alttext.cObject = TEXT
</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; alttext.cObject.field = header
</div>
</li>
<li class="li2">
<div class="de2">&nbsp; &nbsp; wrap = &lt;div class=&quot;h1gfx&quot;&gt;|&lt;/div&gt;
</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; file = GIFBUILDER
</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; file {
</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; format = gif
</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; reduceColors = 15
</div>
</li>
<li class="li2">
<div class="de2">&nbsp; &nbsp; &nbsp; &nbsp; transparentColor = #ffffff
</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; XY = [10.w]+2,[10.h]+8
</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; backColor = #ffffff
</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; 10 = TEXT
</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; 10 {
</div>
</li>
<li class="li2">
<div class="de2">&nbsp; &nbsp; text.field = header
</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; fontSize = 14
</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; offset = 0,20
</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; fontColor = #333333
</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; fontFile = fileadmin/fonts/NewsGothicStd_utffull.ttf
</div>
</li>
<li class="li2">
<div class="de2">&nbsp; &nbsp; antiAlias = 1
</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; value.case = upper
</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; }
</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; }
</div>
</li>
<li class="li1">
<div class="de1">}
</div>
</li>
<li class="li2">
<div class="de2">&nbsp;</div>
</li>
</ol>
</div>
<p>Database was set to full utf-8 charset in all tables from the beginning.</p>
<p>See http://wiki.typo3.org/index.php/UFT-8_support about utf-8 support for TYPO3.</p>
]]></content:encoded>
			<wfw:commentRss>http://people.merea.se/david/2007/03/08/gmenugifbuilder-broke-my-swedish-characters/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>About</title>
		<link>http://people.merea.se/david/2007/02/28/about/</link>
		<comments>http://people.merea.se/david/2007/02/28/about/#comments</comments>
		<pubDate>Wed, 28 Feb 2007 22:56:01 +0000</pubDate>
		<dc:creator>David Smeringe</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://people.merea.se/david/about/</guid>
		<description><![CDATA[Well. I&#8217;m David. See http://www.merea.se/ (swedish) if your curious on what I do for a living.]]></description>
			<content:encoded><![CDATA[<p>Well. I&#8217;m David. See http://www.merea.se/ (swedish) if your curious on what I do for a living.</p>
]]></content:encoded>
			<wfw:commentRss>http://people.merea.se/david/2007/02/28/about/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

