<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>number_format() doesn&#039;t work with multi-byte characters</title> 
  <pubDate>Thu, 09 Apr 2026 23:21:13 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/8780</link> 
  <atom:link rel="self" type="application/rss+xml" title="number_format() doesn&#039;t work with multi-byte characters" href="https://bugs.horde.org/ticket/8780/rss" /> 
  <description>number_format() doesn&#039;t work with multi-byte characters</description> 
 
   
   
  <item> 
   <title>output from localeconv() is in the default encoding for the </title> 
   <description>output from localeconv() is in the default encoding for the choosed locale

localeconv() for cs_CZ outputs in ISO-8859-2 but is displayed in utf-8

In IMP::New Mail window down in Attachment section
(Maximum Attachment Size: 10?000?000 bytes)</description> 
   <pubDate>Wed, 16 Dec 2009 05:21:21 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8780#t57200</link> 
  </item> 
   
  <item> 
   <title>in lib/Horde/NLS.php on line 452
should be something like
</title> 
   <description>in lib/Horde/NLS.php on line 452
should be something like
$lc_info = iconv($charset, &#039;utf-8&#039;, localeconv());
instead of
$lc_info = localeconv();</description> 
   <pubDate>Wed, 16 Dec 2009 05:42:16 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8780#t57201</link> 
  </item> 
   
  <item> 
   <title>This sucks, because there is no way to find out which charse</title> 
   <description>This sucks, because there is no way to find out which charset is actually being used. I would expect localeconv() to use the charset of the current locale, but that&#039;s obviously not the case. I don&#039;t see a clean solution at the moment. For Horde 4 we could use intl&#039;s NumberFormatter instead, hoping that it is locale-aware.</description> 
   <pubDate>Wed, 16 Dec 2009 10:33:37 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8780#t57204</link> 
  </item> 
   
  <item> 
   <title>Maybe it should be configurable at admin or even user level.</title> 
   <description>Maybe it should be configurable at admin or even user level. That would be great.
I presonaly hate , as a decimal_point which is default for my locale</description> 
   <pubDate>Wed, 16 Dec 2009 19:52:29 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8780#t57207</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in CVS for this ticket:

Workaround b</title> 
   <description>Changes have been made in CVS for this ticket:

Workaround broken PHP number formatting with some locales (Bug #8780).
http://cvs.horde.org/diff.php/ansel/lib/Widget/OwnerFaces.php?rt=horde&amp;r1=1.6.2.4&amp;r2=1.6.2.5&amp;ty=u
http://cvs.horde.org/diff.php/ansel/templates/faces/faces.inc?rt=horde&amp;r1=1.2&amp;r2=1.2.2.1&amp;ty=u
http://cvs.horde.org/diff.php/ansel/templates/tile/face.inc?rt=horde&amp;r1=1.9&amp;r2=1.9.2.1&amp;ty=u
http://cvs.horde.org/diff.php/framework/MIME/MIME/Attic/Contents.php?rt=horde&amp;r1=1.129.4.45&amp;r2=1.129.4.46&amp;ty=u
http://cvs.horde.org/diff.php/framework/MIME/MIME/Attic/Part.php?rt=horde&amp;r1=1.177.4.27&amp;r2=1.177.4.28&amp;ty=u
http://cvs.horde.org/diff.php/framework/NLS/Attic/NLS.php?rt=horde&amp;r1=1.82.4.26&amp;r2=1.82.4.27&amp;ty=u
http://cvs.horde.org/diff.php/imp/compose.php?rt=horde&amp;r1=2.800.2.129&amp;r2=2.800.2.130&amp;ty=u
http://cvs.horde.org/diff.php/imp/docs/CHANGES?rt=horde&amp;r1=1.699.2.417&amp;r2=1.699.2.418&amp;ty=u
http://cvs.horde.org/diff.php/imp/lib/IMP.php?rt=horde&amp;r1=1.449.4.128&amp;r2=1.449.4.129&amp;ty=u
http://cvs.horde.org/diff.php/imp/lib/UI/Mailbox.php?rt=horde&amp;r1=1.9.2.7&amp;r2=1.9.2.8&amp;ty=u
http://cvs.horde.org/diff.php/whups/lib/Reports.php?rt=horde&amp;r1=1.35.2.1&amp;r2=1.35.2.2&amp;ty=u</description> 
   <pubDate>Wed, 16 Dec 2009 21:56:16 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8780#t57208</link> 
  </item> 
   
  <item> 
   <title>It actually turned out that not localconv() was the culprit,</title> 
   <description>It actually turned out that not localconv() was the culprit, it worked just as expected. But number_format() doesn&#039;t work with multi-byte characters.</description> 
   <pubDate>Wed, 16 Dec 2009 22:12:26 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8780#t57210</link> 
  </item> 
   
  <item> 
   <title>Great, than kyou.</title> 
   <description>Great, than kyou.</description> 
   <pubDate>Thu, 17 Dec 2009 00:35:05 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8780#t57215</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
