Welcome to the nuBuilder forums!

Please register and login to view forums and other content only available to registered users.

Problem with the function htmlentities

Post Reply
ailiad
Posts: 3
Joined: Wed May 05, 2010 11:12 pm

Problem with the function htmlentities

Unread post 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.
steven
Posts: 218
Joined: Mon Jun 15, 2009 10:03 am
Has thanked: 1 time

Re: Problem with the function htmlentities

Unread post 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
If you like nuBuilder, how about leaving a nice review on SourceForge?
ailiad
Posts: 3
Joined: Wed May 05, 2010 11:12 pm

Re: Problem with the function htmlentities

Unread post 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")
steven
Posts: 218
Joined: Mon Jun 15, 2009 10:03 am
Has thanked: 1 time

Re: Problem with the function htmlentities

Unread post by steven »

ailiad,

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

Steven
If you like nuBuilder, how about leaving a nice review on SourceForge?
Post Reply