<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel rdf:about="http://blogmarks.net/api/user/night.kame/marks/tag/kludge,php">
<title>Public marks from user night.kame with tags kludge &amp; php</title>
<description>Public marks from user night.kame with tags kludge &amp; php</description>
<link>http://blogmarks.net/user/night.kame/marks/tag/kludge,php</link>
<items><rdf:Seq><rdf:li resource="http://blogmarks.net/api/user/night.kame/mark/1057975319"/>
</rdf:Seq></items>
</channel>
<item rdf:about="http://blogmarks.net/api/user/night.kame/mark/1057975319">
<title>PHP Bugs: #17079: setlocale changes the internal representation of floats</title>
<link>http://bugs.php.net/bug.php?id=17079</link>
<description>&lt;blockquote&gt;&lt;p&gt;The system uses Oracle for
persistence, where the decimal separator is a comma, as is a custom in
that country. So numbers came in from Oracle, and then PHP was unable to
process them correctly. For example, if a client had a debt of 25,12€,
and the client paid 5€, then the comparison ($paid_amount &gt; $debt) said
incorrectly that the paid amount was more than the debt.

Result: hundreds of wasted man-hours. In the end we recompiled PHP
without that &quot;fix&quot;.&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;Oui, chez Zend aussi on aime faire de la grosse daube.&lt;/p&gt;</description>
<dc:date>2008-09-08T22:16:54Z</dc:date>
<dc:author>night.kame</dc:author>
<dc:subject>php, i18n, kludge</dc:subject>
<content:encoded><![CDATA[<div class="mark">
<a href="http://bugs.php.net/bug.php?id=17079"><img border="0" src="http://blogmarks.net/screenshots/2008/09/08/00274214d92b136dd1d8688b402cabb3.jpg" alt="" /></a>
<div class="xfolkentry">
<h4><a class="taggedlink" href="http://bugs.php.net/bug.php?id=17079">PHP Bugs: #17079: setlocale changes the internal representation of floats</a></h4>
 
by <a href="http://blogmarks.net/user/night.kame">night.kame</a> 
<div class="description"><blockquote><p>The system uses Oracle for
persistence, where the decimal separator is a comma, as is a custom in
that country. So numbers came in from Oracle, and then PHP was unable to
process them correctly. For example, if a client had a debt of 25,12€,
and the client paid 5€, then the comparison ($paid_amount > $debt) said
incorrectly that the paid amount was more than the debt.

Result: hundreds of wasted man-hours. In the end we recompiled PHP
without that "fix".</p></blockquote><p>Oui, chez Zend aussi on aime faire de la grosse daube.</p></div>
<p class="tags">
<a rel="tag" class="tag public_tag" href="http://blogmarks.net/marks/tag/php">php</a>
<a rel="tag" class="tag public_tag" href="http://blogmarks.net/marks/tag/i18n">i18n</a>
<a rel="tag" class="tag public_tag" href="http://blogmarks.net/marks/tag/kludge">kludge</a>
</p>
<div class="action-bar">
<a href="http://blogmarks.net/my/marks,new?id=1057975319">Copy</a> | 
<a href="http://blogmarks.net/link/2893081">React (2)</a></div>
</div>
</div>
]]></content:encoded>
</item> </rdf:RDF>