Encryption problem - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: Encryption problem (/showthread.php?tid=34397) |
Encryption problem - El Forum - 09-28-2010 [eluser]happyeddie[/eluser] Hi, I'm using the encryption class. But with some of the entries in the database they come out as special htmlentities. Has anyone else had this problem, or know of a way I can stop it printing out the special characters? Thanks Encryption problem - El Forum - 09-28-2010 [eluser]happyeddie[/eluser] So I have a work around for my problem: Code: if(is_utf8($home_address) == 1) $home_address = $home_address; so if it has special characters don't display anything. In my case its better than breaking my application. But the text is coming from a textarea. Do you think that line breaks could be causing the problem? |