Jump to content

Recommended Posts

Hello, everyone! Can anyone tell me how to remove the strange characters for example with a $text parameter that writes to the database and then returns that text with the database.
This is text of this type, perhaps generated with a font. Anyone know how to get rid of this?

s҉o҉m҉e҉t҉e҉x҉t҉

ŝ̬ô̬m̬̂ê̬t̬̂ê̬x̬̂t̬̂

and more...

Thank you.

Link to comment
https://forums.phpfreaks.com/topic/316042-remove-strange-text-from-post-form/
Share on other sites

If you want to pick and choose which characters can be used, you'll have to go through the unicode character list, decide what you do and don't want, then probably write your own filtering code for that.

I dunno about you, but to me that seems like a lot of work for very little or no benefit.

 

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.