Page 1 of 1

Problem with the function htmlentities

Posted: Fri May 07, 2010 9:55 am
by ailiad
I have a problem with the function htmlentities in form.php
htmlentities($this->objectValue); - line 1511
I use Greek (greek_general_ci for the base and ISO 8859-7 for the pages) are not supported by this function.
It will create a problem if Ι remove it?
Is there another solution?
Thanks.

Re: Problem with the function htmlentities

Posted: Mon May 10, 2010 5:36 am
by steven
ailiad,

I'm fairly certain your problem will not happen in our next release (hopefully by the end of May).
That will be the first release that supports UFT-8.

Hopefully you can wait that long.

Steven

Re: Problem with the function htmlentities

Posted: Wed May 12, 2010 3:29 pm
by ailiad
I solved the problem by following these steps:
1. Convert the database to utf8
2. I changed the encoding to UTF-8
3. I used the function htmlentities in the form:
htmlentities (string, ENT_COMPAT, "UTF-8")

Re: Problem with the function htmlentities

Posted: Thu May 13, 2010 5:11 am
by steven
ailiad,

Thanks for sharing your answer, it should be quite helpful for others

Steven