DWilliams Posted April 14, 2010 Share Posted April 14, 2010 Like © or ὠ and so forth? I ask because on one of my projects, a particular user keeps copy & pasting stuff into a text box. When saved to the database (after going through mysql_real_escape_string() and trim()), occasionally ὠ gets appended to the data in plain text. I assume this is some sort of invisible formatting character or something that they're accidentally highlighting. Will strip_tags() suffice here? If not, how can I remove these codes? I'm new to having projects I develop being used by an audience (in this case, our office). I'm shocked at how fast users can break things in ways I never would have thought possible Link to comment https://forums.phpfreaks.com/topic/198525-does-strip_tags-also-remove-html-character-codes/ Share on other sites More sharing options...
Ken2k7 Posted April 14, 2010 Share Posted April 14, 2010 Why would ὠ break anything? Link to comment https://forums.phpfreaks.com/topic/198525-does-strip_tags-also-remove-html-character-codes/#findComment-1041736 Share on other sites More sharing options...
DWilliams Posted April 14, 2010 Author Share Posted April 14, 2010 Why would ὠ break anything? It doesn't "break" it per-se, but since this text later gets printed on an envelope, tagged on codes are not acceptable. For reference, it doesn't show up as the character itself, it shows up as plainly "ὠ" Link to comment https://forums.phpfreaks.com/topic/198525-does-strip_tags-also-remove-html-character-codes/#findComment-1041739 Share on other sites More sharing options...
DWilliams Posted April 15, 2010 Author Share Posted April 15, 2010 Bump Link to comment https://forums.phpfreaks.com/topic/198525-does-strip_tags-also-remove-html-character-codes/#findComment-1042383 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.