sheevazz / searchable-behaviour-for-cakephp

Automatically exported from code.google.com/p/searchable-behaviour-for-cakephp
0 stars 0 forks source link

not php 4 compatible #12

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Not really a bug, but I just found out the hard way that this is not PHP4 
compatible because of this 
line in searchable.php:

html_entity_decode($value,ENT_COMPAT,'UTF-8')

just thought I would mention it as it was causing some of my saves to fail on 
an old server

Original issue reported on code.google.com by jamierm...@gmail.com on 9 Feb 2009 at 4:41

GoogleCodeExporter commented 9 years ago
should have mentioned it's a problem with multi-byte characters which produces 
the following error: Warning 
(2): cannot yet handle MBCS in html_entity_decode()!

Original comment by jamierm...@gmail.com on 9 Feb 2009 at 4:42

GoogleCodeExporter commented 9 years ago
Right now, I'm not thinking of supporting php4 since it's becoming more and more
obsolete, but if you find a solution it might get integrated. Also since this 
is a
problem in the indexing function you might read the issue #8.

Original comment by calin....@gmail.com on 10 Jun 2009 at 11:12