CodeWalrus

General => Other => Topic started by: lazydogP on December 03, 2016, 04:38:58 AM

Title: What do you think of strange texts?
Post by: lazydogP on December 03, 2016, 04:38:58 AM
You know, Streetwalrus and aeTIos have a strange decoration around their nicknames. It's fun, yeah. I'm really interested in the technical explanation behind them.

I've seen some texts like this crash browsers, mobile apps and so on. One example is that you can make one character spreading through a web page, making it slow to scroll.

So what do you think about them?



Edit by p2: Just normalized the title.
Title: Re: What do you ‮?stxet egnarts fo kniht ‭
Post by: Yuki on December 03, 2016, 04:41:43 AM
Well, it's even more garbled on Windows XP, but it isn't that bad.

EDIT: WTF with the topic title o.o
Title: Re: What do you ‮?stxet egnarts fo kniht ‭
Post by: lazydogP on December 03, 2016, 04:46:57 AM
Quote from: Juju on December 03, 2016, 04:41:43 AM
EDIT: WTF with the topic title o.o

https://en.m.wikipedia.org/wiki/Right-to-left_mark
Title: Re: What do you ‮?stxet egnarts fo kniht ‭
Post by: Dream of Omnimaga on December 03, 2016, 05:22:07 AM
The weird text is definitively weird and I remember when people used it in OmnomIRC it lagged my browser. But I think issues were mostly on old devices or browsers.

As for the right-to-left mark, you can enable it on each SMF language packs. Hebrew has it enabled by default, for example, but we chose to disable it because it messed up the entire board layout.
Title: Re: What do you ‮?stxet egnarts fo kniht ‭
Post by: Yuki on December 03, 2016, 06:51:03 AM
Still kinda funny the last poster's name is in the middle of the title while it's reversed on WalrusIRC and on Twitter.
Title: Re: What do you ‮?stxet egnarts fo kniht ‭
Post by: WholeWheatBagels on December 03, 2016, 06:54:35 AM
Quote*   Walrified post by Juju on Re: What do you .?stxet egnarts fo kniht - http://codewalr.us/1748/48719

Guess it doesn't work in WalrusIRC.  :P

How does one make the funny text anyways? I've seen it around but have never figured out how they did it.
Title: Re: What do you ‮?stxet egnarts fo kniht ‭
Post by: Yuki on December 03, 2016, 06:57:53 AM
Zalgo text generator. Check it out.
Title: Re: What do you ‮?stxet egnarts fo kniht ‭
Post by: Dream of Omnimaga on December 03, 2016, 07:03:51 AM
Probably unicode characters. There are probably generators online somewhere.

Anyway, my favorite is mIRC ASCII art, but it can get you kicked from servers if all pasted at once and you definitively don't want to do this in a public channel. :P

(http://img.codewalr.us/walriiascii.png)
Title: Re: What do you ‮?stxet egnarts fo kniht ‭
Post by: p2 on December 04, 2016, 12:11:48 PM
the trick behind it is strange text symbols that have a letter width of 0px.
Noone really knows what they're actually ment to be used for..
but if you put 2 or 3 of them behind every letter of a regular text, you end up with something just like that.
To see them and use them yourself, just copy the text to Notepad++ (not notepad) and convert the text to HEX.
you can then see the text is much longer than it should be. that's because of the special characters in between.

But please do not use them in posts nor in IRC as they (as already written above) couse troubles with some browsers and also make the SEARCH field useless... :P
So please just act as if they would be prohibited from using.

/me pokes @Streetwalrus and @aeTIos to normalize their names again... <_<
Title: Re: What do you ‮?stxet egnarts fo kniht ‭
Post by: JosJuice on December 04, 2016, 04:34:58 PM
Quote from: p2 on December 04, 2016, 12:11:48 PM
the trick behind it is strange text symbols that have a letter width of 0px.
Noone really knows what they're actually ment to be used for..
They're used for putting diacritics on letters, but normally you're only meant to use one or maybe two per letter, depending on the language. For instance, you can write é by first writing an e and then using a special combining ´ character. In case of é, it's very rarely done that way because there already is a pre-composed é character, but some languages use combinations of letters and diacritics that don't have any pre-composed characters in Unicode.
Title: Re: What do you think of strange texts? ‭
Post by: p2 on December 04, 2016, 07:49:24 PM
yeah I once sav a text where the guy used ` and ´ to add a littel M above  letters ^.^
Title: Re: What do you ‮?stxet egnarts fo kniht ‭
Post by: Dream of Omnimaga on December 04, 2016, 09:39:54 PM
By the way, if you check SMF support site, select hebrew or arabic to see what Right to Left mode looks like in SMF.
Title: Re: What do you ‮?stxet egnarts fo kniht ‭
Post by: xMarminq_ on December 05, 2016, 12:40:43 AM
xMaͥrmͣiͫnq
Title: Re: What do you ‮?stxet egnarts fo kniht ‭
Post by: Dream of Omnimaga on December 05, 2016, 05:19:28 AM
I wonder if there is a generator with those characters that can actually make ASCII art out of 1 word, by uploading an image. For example, it could generate a :walrii: with just text and those chars.

This is the closest I could find, but I wonder if it's feasible in 1 line


        ͜͢͜͢͜͢ ̡̢̡̢̡̢͜͜͜ ̷̷̿̿ ̴̸̴̸̴̸̿̿ ̴̸̴̸̴̸̿̿ ̴̸̴̸̴̸̿̿ ̴̸̴̸̴̸̿̿ ̴̴̴͜͢͜͢͜͢ ̡̢̡̢̡̢  ͜͢͜͢͜͢ ̡̢̡̢̡̢͜͢͜͢͜͢ ̡̢̡̢̡̢͜͢͜͢͜͢ ̡̢̡̢̡̢
     ͜͢͜͢͜͢ ̷̷̡̢̡̢̡̢̿̿ ̸̸̸̿̿   ͜͢͜͢͜͢ ̡̢̡̢̡̢͜͢͜͢͜͢ ̡̢̡̢̡̢͜͜͜   ͜͢͜͢͜͢ ̷̷̡̢̡̢̡̢̿̿ ̸̸̸̿̿    ̿̿ ̿̿ ̴̸̴̸̴̸͜͢͜͢͜͢ ̡̢̡̢̡̢͜͜͜
     ̸̷̸̷̸̿̿͜͢͜͢͜͢͝͠͝͠͝͠ ̴̸̷̴̸̷̴̸̡̢̡̢̡̢̿̿͜͢͜͢͜͢ ̡̢̡̢̡̢̿̿͜͜͜ ̷̷̿̿ ̸̸̸̿̿    ̿̿͜͢͜͢͜͢͝͠͝͠͝͠ ̴̸̷̴̸̷̴̸̡̢̡̢̡̢̿̿͜͜͜͝͠͝͠͝͠ ̴̸̷̴̸̷̴̸̿̿ ̴̸̴̸̴̸̿̿ ̴̸̴̸̴̸̿̿ ̴̸̴̸̴̸͜͢͜͢͜͢ ̡̢̡̢̡̢͜͜͜      ̸̷̸̷̸̿̿͜͢͜͢͜͢͝͠͝͠͝͠ ̴̸̷̴̸̷̴̸̡̢̡̢̡̢̿̿͝͠͝͠͝͠ ̴̸̴̸̴̸̿̿ ̴̸̴̸̴̸͜͢͜͢͜͢ ̡̢̡̢̡̢͜͜͜
   ͜͢͜͢͜͢ ̡̢̡̢̡̢͜͜͜ ̷̷̿̿ ̴̸̴̸̴̸̿̿ ̴̸̴̸̴̸̿̿ ̴̸̴̸̴̸͜͢͜͢͜͢ ̡̢̡̢̡̢͜͜͜    ̿̿͜͢͜͢͜͢͝͠͝͠͝͠ ̴̸̷̴̸̷̴̸̡̢̡̢̡̢̿̿͜͜͜      ̸̷̸̷̸̿̿͜͢͜͢͜͢͝͠͝͠͝͠ ̴̸̷̴̸̷̴̸̡̢̡̢̡̢̿̿  ͜͢͜͢͜͢ ̡̢̡̢̡̢͜͜͜ ̷̷̿̿ ̴̸̴̸̴̸̿̿    ̸̷̸̷̸̿̿͜͢͜͢͜͢͝͠͝͠͝͠ ̴̸̷̴̸̷̴̸̡̢̡̢̡̢̿̿
  ̡̢̡̢̡̢͜͢͜͢͜͢ ̸̷̸̷̸̡̢̡̢̡̢̿̿͜͢͜͢͜͢͝͠͝͠͝͠ ̴̸̷̴̸̷̴̸̡̢̡̢̡̢̿̿͜͜͜   ̡̢̡̢̡̢͜͜͜   ̿̿ ̴̸̴̸̴̸̿̿ ̴̸̴̸̴̸̿̿ ̿̿ ̿̿ ̿̿ ̴̸̴̸̴̸̿̿ ̡̢̡̢̡̢̿̿͜͢͜͢͜͢ ̸̷̸̷̸̡̢̡̢̡̢̿̿͜͢͜͢͜͢͝͠͝͠͝͠ ̴̸̷̴̸̷̴̸̡̢̡̢̡̢̿̿͜͢͜͢͜͢ ̴̸̷̴̸̷̴̸̡̢̡̢̡̢̿̿͜͢͜͢͜͢ ̷̷̡̢̡̢̡̢̿̿ ̸̸̸̿̿         ̿̿ ̴̸̷̴̸̷̴̸̡̢̡̢̡̢̿̿͜͜͜͝͠͝͠͝͠ ̴̸̴̸̴̸
̿̿ ̴̸̷̴̸̷̴̸̡̢̡̢̡̢̿̿͜͜͜͝͠͝͠͝͠ ̴̸̴̸̴̸̿̿ ̿̿ ̿̿ ̴̸̴̸̴̸̿̿ ̴̸̷̴̸̷̴̸̡̢̡̢̡̢̿̿͜͜͜͝͠͝͠͝͠ ̴̸̷̴̸̷̴̸̿̿͝͠͝͠͝͠ ̴̸̴̸̴̸̿̿ ̴̴̴͜͢͜͢͜͢ ̡̢̡̢̡̢͜͢͜͢͜͢ ̡̢̡̢̡̢͜͢͜͢͜͢ ̸̷̸̷̸̡̢̡̢̡̢̿̿͜͢͜͢͜͢͝͠͝͠͝͠ ̴̸̷̴̸̷̴̸̡̢̡̢̡̢̿̿͜͜͜                 ̿̿ ̿̿ ̴̸̴̸̴̸͜͢͜͢͜͢ ̡̢̡̢̡̢͜͜͜
̿̿ ̴̸̷̴̸̷̴̸̡̢̡̢̡̢̿̿͜͜͜͝͠͝͠͝͠ ̴̸̴̸̴̸   ̿̿ ̴̸̷̴̸̷̴̸̡̢̡̢̡̢̿̿͜͜͜͝͠͝͠͝͠ ̴̸̴̸̴̸     ̿̿͜͢͜͢͜͢͝͠͝͠͝͠ ̴̸̷̴̸̷̴̸̡̢̡̢̡̢̿̿͜͜͜                   ̿̿͜͢͜͢͜͢͝͠͝͠͝͠ ̴̸̷̴̸̷̴̸̡̢̡̢̡̢̿̿͜͜͜
̿̿ ̴̸̷̴̸̷̴̸̡̢̡̢̡̢̿̿͜͜͜͝͠͝͠͝͠ ̴̸̴̸̴̸  ͜͢͜͢͜͢ ̷̷̡̢̡̢̡̢̿̿͜͢͜͢͜͢ ̴̸̷̴̸̷̴̸̡̢̡̢̡̢̿̿͜͜͜͝͠͝͠͝͠ ̴̸̴̸̴̸     ̿̿͜͢͜͢͜͢͝͠͝͠͝͠ ̴̸̷̴̸̷̴̸̡̢̡̢̡̢̿̿͜͜͜                   ̿̿͜͢͜͢͜͢͝͠͝͠͝͠ ̴̸̷̴̸̷̴̸̡̢̡̢̡̢̿̿͜͜͜
̿̿ ̴̸̷̴̸̷̴̸̡̢̡̢̡̢̿̿͜͜͜͝͠͝͠͝͠ ̴̸̴̸̴̸̿̿ ̿̿ ̸̷̸̷̸̿̿͜͢͜͢͜͢͝͠͝͠͝͠ ̴̸̷̴̸̷̴̸̡̢̡̢̡̢̿̿͝͠͝͠͝͠ ̴̸̴̸̴̸̿̿ ̴̸̴̸̴̸̿̿͜͢͜͢͜͢͝͠͝͠͝͠ ̴̸̷̴̸̷̴̸̡̢̡̢̡̢̿̿͜͜͜ ̿̿ ̿̿ ̴̸̷̴̸̷̴̸̡̢̡̢̡̢̿̿͜͜͜͝͠͝͠͝͠ ̴̸̴̸̴̸    ̡̢̡̢̡̢͜͜͜ ̷̷̿̿ ̸̸̸̿̿    ͜͢͜͢͜͢ ̡̢̡̢̡̢͜͜͜           ̸̷̸̷̸̿̿͜͢͜͢͜͢͝͠͝͠͝͠ ̴̸̷̴̸̷̴̸̡̢̡̢̡̢̿̿͜͢͜͢͜͢ ̡̢̡̢̡̢͜͜͜
̿̿ ̿̿ ̴̸̴̸̴̸̿̿͜͢͜͢͜͢ ̡̢̡̢̡̢̿̿͜͢͜͢͜͢ ̴̸̷̴̸̷̴̸̡̢̡̢̡̢̿̿͜͢͜͢͜͢͝͠͝͠͝͠ ̴̸̷̴̸̷̴̸̡̢̡̢̡̢̿̿͝͠͝͠͝͠ ̴̸̴̸̴̸̿̿ ̴̸̴̸̴̸̿̿͜͢͜͢͜͢͝͠͝͠͝͠ ̴̸̷̴̸̷̴̸̡̢̡̢̡̢̿̿͜͜͜ ̿̿ ̿̿ ̴̸̷̴̸̷̴̸̡̢̡̢̡̢̿̿͜͜͜͝͠͝͠͝͠ ̴̸̴̸̴̸            ̿̿ ̴̸̴̸̴̸̿̿ ̡̢̡̢̡̢͜͜͜     ̡̢̡̢̡̢͜͜͜    ̿̿ ̴̸̷̴̸̷̴̸̡̢̡̢̡̢̿̿͜͜͜͝͠͝͠͝͠ ̴̸̷̴̸̷̴̸̿̿͝͠͝͠͝͠ ̴̸̴̸̴̸̿̿
   ̿̿͜͢͜͢͜͢͝͠͝͠͝͠ ̴̸̷̴̸̷̴̸̡̢̡̢̡̢̿̿͜͜͜͝͠͝͠͝͠ ̴̸̷̴̸̷̴̸̿̿ ̴̸̴̸̴̸̿̿    ̿̿ ̴̸̴̸̴̸̿̿ ̡̢̡̢̡̢͜͢͜͢͜͢ ̡̢̡̢̡̢͜͢͜͢͜͢ ̡̢̡̢̡̢͜͢͜͢͜͢ ̡̢̡̢̡̢͜͢͜͢͜͢ ̷̷̡̢̡̢̡̢̿̿ ̸̸̸̿̿ ̴̸̴̸̴̸͜͢͜͢͜͢ ̡̢̡̢̡̢͜͜͜       ̿̿ ̿̿ ̴̸̴̸̴̸͜͢͜͢͜͢ ̡̢̡̢̡̢͜͜͜  ̿̿ ̿̿ ̴̸̴̸̴̸͜͢͜͢͜͢ ̡̢̡̢̡̢͜͜͜    ̿̿ ̸̸̸̿̿ ̴̴̴͜͢͜͢͜͢ ̡̢̡̢̡̢
   ̿̿͜͢͜͢͜͢͝͠͝͠͝͠ ̴̸̷̴̸̷̴̸̡̢̡̢̡̢̿̿͜͢͜͢͜͢ ̴̸̷̴̸̷̴̸̡̢̡̢̡̢͜͢͜͢͜͢ ̡̢̡̢̡̢͜͢͜͢͜͢ ̡̢̡̢̡̢͜͜͜ ̷̷̿̿ ̸̸̸̿̿ ̴̸̴̸̴̸̿̿ ̴̸̴̸̴̸̿̿     ̿̿ ̿̿ ̴̸̴̸̴̸̿̿ ̴̸̴̸̴̸̿̿ ̴̸̴̸̴̸̿̿ ̴̸̴̸̴̸̿̿ ̴̸̴̸̴̸̿̿ ̴̸̴̸̴̸͜͢͜͢͜͢ ̡̢̡̢̡̢͜͢͜͢͜͢ ̡̢̡̢̡̢͜͢͜͢͜͢ ̡̢̡̢̡̢͜͢͜͢͜͢ ̡̢̡̢̡̢͜͢͜͢͜͢ ̸̷̸̷̸̡̢̡̢̡̢̿̿͜͢͜͢͜͢͝͠͝͠͝͠ ̴̸̷̴̸̷̴̸̡̢̡̢̡̢̿̿͜͜͜͝͠͝͠͝͠ ̴̸̷̴̸̷̴̸̿̿ ̴̸̴̸̴̸̿̿ ̴̸̴̸̴̸̿̿ ̿̿ ̿̿ ̿̿ ̴̸̴̸̴̸̿̿ ̴̸̴̸̴̸̿̿ ̴̸̴̸̴̸̿̿ ̴̸̴̸̴̸̿̿
Title: Re: What do you think of strange texts?
Post by: p2 on December 05, 2016, 10:00:30 AM
We only have Hebrew. Arabic languages aren't available on CodeW ^^
How much time did you put in creating this thing, dj?  :ninja:
Title: Re: What do you think of strange texts?
Post by: novenary on December 05, 2016, 02:08:52 PM
Quote from: JosJuice on December 04, 2016, 04:34:58 PM
Quote from: p2 on December 04, 2016, 12:11:48 PM
the trick behind it is strange text symbols that have a letter width of 0px.
Noone really knows what they're actually ment to be used for..
They're used for putting diacritics on letters, but normally you're only meant to use one or maybe two per letter, depending on the language. For instance, you can write é by first writing an e and then using a special combining ´ character. In case of é, it's very rarely done that way because there already is a pre-composed é character, but some languages use combinations of letters and diacritics that don't have any pre-composed characters in Unicode.
That's pretty much it. As a matter of fact, since I've worked with unicode stuff a lot, I'll add that you can do this with pretty much any combination of characters. Very few text rendering engines handle that kind of stuff properly because they either didn't bother reading the specs (I wrote my own utf-8 decoder, and took a look at some others for reference, they were all broken beyond repair even though the algorithm is trivial and described in detail in the unicode spec) or because of the extreme complexity involved (which is why HarfBuzz is pretty much the only text shaping library out there nowadays, and it's used by browsers).
Title: Re: What do you think of strange texts?
Post by: Dream of Omnimaga on December 05, 2016, 06:31:03 PM
Which reminds me, aeTIos should make a post in the staff forum on how to ban someone from WIRC by using those characters in the user nick, since WIRC has a bug about that <_< (at least it would still allow the user to see the chat, just not sending text)
Title: Re: What do you think of strange texts?
Post by: p2 on December 05, 2016, 09:48:07 PM
so by changing user's names in the IRC you can mute them? That can definitely come in handy :D
Title: Re: What do you think of strange texts?
Post by: Yuki on December 06, 2016, 01:59:32 AM
So as I understand, you guys found a bug in WIRC I don't need to fix because it does some unintended, but useful side effect? Nice. Just document it somewhere and we're in business.
Title: Re: What do you think of strange texts?
Post by: novenary on December 06, 2016, 12:05:33 PM
Haha yes indeed, having zalgo in your nick prevents you from sending messages to wirc.
Title: Re: What do you think of strange texts?
Post by: lazydogP on December 06, 2016, 01:26:30 PM
Thank you, @p2 ! I'm busy these days and forget to change the title in time.