Welcome to the nuBuilder Forums!

Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, and content available only 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: 385
Joined: Mon Jun 15, 2009 10:03 am
Has thanked: 56 times
Been thanked: 53 times

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
A short post is a good post.
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: 385
Joined: Mon Jun 15, 2009 10:03 am
Has thanked: 56 times
Been thanked: 53 times

Re: Problem with the function htmlentities

Unread post by steven »

ailiad,

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

Steven
A short post is a good post.
Post Reply