ID:               33534
 Updated by:       [EMAIL PROTECTED]
 Reported By:      rt424 at hszk dot bme dot hu
-Status:           Open
+Status:           Bogus
 Bug Type:         Documentation problem
 Operating System: ubuntu linux
 PHP Version:      4.3.10
 New Comment:

' ' in the translation table is not ASCII 32 but ASCII 160. It is
stated by html_entity_decode().


Previous Comments:
------------------------------------------------------------------------

[2005-07-01 15:08:06] [EMAIL PROTECTED]

This is expected behaviour and it should be mentioned somewhere in the
docs.
Reclassified as docu problem.

------------------------------------------------------------------------

[2005-07-01 14:15:37] rt424 at hszk dot bme dot hu

Description:
------------
Whenever I use the function htmlentities, it doesn't replace
whitespace characters to ' ', although this replacement is present
in the functions translation table.

Reproduce code:
---------------
      $str = "  ";
      $str = htmlentities($str);
      print "'$str'";


Expected result:
----------------
'  '

Actual result:
--------------
' '


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=33534&edit=1

Reply via email to