Quantcast
Channel: How can Z͎̠͗ͣḁ̵͙̑l͖͙̫̲̉̃ͦ̾͊ͬ̀g͔̤̞͓̐̓̒̽o͓̳͇̔ͥ text be prevented? - Stack Overflow
Browsing all 6 articles
Browse latest View live

Answer by solitud for How can Z͎̠͗ͣḁ̵͙̑l͖͙̫̲̉̃ͦ̾͊ͬ̀g͔̤̞͓̐̓̒̽o͓̳͇̔ͥ text be...

Using PHP and the mindset of a demolition worker you can get rid of the Zalgo with the iconv function. Of course that will kill any other UTF-8 chars too.$unZalgoText = iconv("UTF-8",...

View Article



Answer by notriddle for How can Z͎̠͗ͣḁ̵͙̑l͖͙̫̲̉̃ͦ̾͊ͬ̀g͔̤̞͓̐̓̒̽o͓̳͇̔ͥ text be...

Make the box overflow:hidden. It doesn't actually disable Zalgo text, but it prevents it from damaging other comments..comment { /* the overflow: hidden is what prevents one comment's combining marks...

View Article

Answer by Benny Code for How can Z͎̠͗ͣḁ̵͙̑l͖͙̫̲̉̃ͦ̾͊ͬ̀g͔̤̞͓̐̓̒̽o͓̳͇̔ͥ text...

You can get rid off Zalgo text in your application using strip-combining-marks by Mathias Bynens. The module strip-combining-marks is available for browsers (via Bower) and Node.js applications (via...

View Article

Answer by nwk for How can Z͎̠͗ͣḁ̵͙̑l͖͙̫̲̉̃ͦ̾͊ͬ̀g͔̤̞͓̐̓̒̽o͓̳͇̔ͥ text be...

Assuming you're very serious about this and want a technical solution you could do as follows:Split the incoming text into smaller units (words or sentences);Render each unit on the server with your...

View Article

Answer by iwein for How can Z͎̠͗ͣḁ̵͙̑l͖͙̫̲̉̃ͦ̾͊ͬ̀g͔̤̞͓̐̓̒̽o͓̳͇̔ͥ text be...

A related question was asked before: https://stackoverflow.com/questions/5073191/how-is-zalgo-text-implemented but it's interesting to go into prevention here.In terms of preventing this you can choose...

View Article


How can Z͎̠͗ͣḁ̵͙̑l͖͙̫̲̉̃ͦ̾͊ͬ̀g͔̤̞͓̐̓̒̽o͓̳͇̔ͥ text be prevented?

I've read about how Zalgo text works, and I'm looking to learn how a chat or forum software could prevent that kind of annoyance. More precisely, what is the complete set of Unicode combining...

View Article
Browsing all 6 articles
Browse latest View live




Latest Images