News for hackers. Stuff that matters.
Re:How does this happen (even in the source code)? by Gigablah on Sunday March 04, 2012 @09:36PM (#3665152)
Looks like a Thai character with stacked diacritics. (http://en.wikipedia.org/wiki/Thai_alphabet#Diacritics)
Re:How does this happen (even in the source code)? by sirn on Sunday March 04, 2012 @10:55PM (#3665345)
It is Thai character (so suea, ส) with vowel (mai taikhu, -็) stacked together several times. In Mac OS X stacked vowels/tone markers will never appear beyond baseline[1][2] which is "correct" since we don't stack them vertically beyond 2 levels (vowel+tone marker, or 3 if you count the lower part); on Windows and maybe Linux it will appear stacked[2].

[1]: https://bug-25818-attachments.webkit.org/attachment.cgi?id=3...

[2]: http://i.imgur.com/Vtv7g.png

[3]: http://i.imgur.com/rtFVV.png

Re:How does this happen (even in the source code)? by sherwin on Sunday March 04, 2012 @09:48PM (#3665185)
Very cool! And if you paste it an ASCII only text editor (notepad) and you'll see a huge blob at the end. You can actually left arrow through the entire stack of diacritics.
Re:How does this happen (even in the source code)? by citricsquid on Sunday March 04, 2012 @09:53PM (#3665198)
Zalgo generator: http://www.eeemo.net/
Re:How does this happen (even in the source code)? by dullcrisp on Sunday March 04, 2012 @10:08PM (#3665232)
Is there any good way to support Unicode and user-submitted content, but prevent people from drawing "outside the lines," so that for example what happened to the HN front page because of this post doesn't happen?

I guess in any case when you have user-submitted content you have to have some way to deal with inappropriate content, but something like this just makes the site's interface appear broken.

Re:How does this happen (even in the source code)? by kijin on Sunday March 04, 2012 @10:22PM (#3665261)
overflow: hidden?
Re:How does this happen (even in the source code)? by dullcrisp on Sunday March 04, 2012 @10:54PM (#3665343)
Ah, so there is something simple you can set. It would probably make sense for at least Google to set that attribute on their text fields if abuse of these diacritics continues to proliferate.
Re:How does this happen (even in the source code)? by kijin on Sunday March 04, 2012 @11:00PM (#3665353)
Well, it's actually a bit more complicated, because overflow: hidden doesn't play nicely with elements that change their size depending on how much content is inside them. But it could be part of an overall solution.
Re:How does this happen (even in the source code)? by kristianp on Sunday March 04, 2012 @09:59PM (#3665212)
What is this, reddit?
Re:How does this happen (even in the source code)? by fferen on Sunday March 04, 2012 @10:32PM (#3665285)
Yeah, I thought it was going to be an actual bug in Google. Turns out someone just posted some funny unicode in a Youtube comment? Rather disappointed that this is on the front page.
Re:How does this happen (even in the source code)? by sitharus on Sunday March 04, 2012 @09:43PM (#3665173)
Unicode combining diacritics. There's no real limit to the combining and it makes some text layout engines make funny characters.

Perfect example of GIGO.

Re:How does this happen (even in the source code)? by joezydeco on Sunday March 04, 2012 @09:56PM (#3665205)
Drop some of those diacritic stacks into Twitter and check out the mayhem.
Re:How does this happen (even in the source code)? by itay on Sunday March 04, 2012 @09:47PM (#3665181)
I wish I could take a screenshot on my Windows Phone news reader to show you what happened :-)
Re:How does this happen (even in the source code)? by lwat on Sunday March 04, 2012 @09:52PM (#3665193)
S̢͎̳̞̲͈̪̳̻ͮͩt̟̳̏ͬ̔͒̈́ͦ͠a̞̤̝̟ͫ̽̂̈́ͪ͐͘n͕͐͑ͪ͐ͦ͋ͮ̅d͚̗̙̎ͫ̌â̗̬͓͍͍̳̥͆̕͠r̢̘ͣ̀d̢̢̢̘̲̺͙̂̈́̊ͬ ͎͎̫͚̣̺̤̖͊̏̀ͬ͞u̧͆ͩ́͒҉͔̠̪̖̹̠̰͎ṇ̸̛͚̟̫͎̟̣̜͋̈́ͧͯi̲̲̺͑̐ͣ͗̿̕͘͝c̦͈͇̦͈ͦ̆ͨ͝o̟̭̫̥͎̹͆́ͥ͊ͬ̏͝d̪͔̯̥̩͙̝ͩ̏͒̈́ͩ̿́̕͜ͅe͍͓̻̊͛ͅ ̸̧̻̺̤̠͙ͪ̋̽l̛̥̥ͬ͂̈́ͤ̓̀̓̚͘ͅͅͅǒ̮͓̼ͭ̂̆̇̕͘ͅl̯̯̟̗͔̳͉̰ͫ̒ͧͦͩͦ̓̓͢ͅs̝͎͚̗̮̟̒̔͛̈̊͋͒ͩͅ