Live data from Hacker News

Tweet crashes Mac Twitter client

jwz.org

51–60 of 61 posts

Re: Tweet crashes Mac Twitter client

#53
post #50

ه҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈ͫͬͩͮͨͪͯͥͥͫͪͧͣͯͪͨͣͥͬͪ ҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈ͪͥͨͪͫͬͭͮͯͥͤͣͥͨͪͧͣͯͬͪ ҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈ͪͨͪͫͬͩͮͯͥͨͣͥͫͪͧͣͯͥͬͪ Cool. . . Edit: Apparently it is only the unicode >ه҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈ͫͬͩͮͨͪͯͥͥͫͪͧͣͯͪͨͣͥͬͪ ҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈ͪͥͨͪͫͬͭͮͯͥͤͣͥͨͪͧͣͯͬͪ ҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈ͪͨͪͫͬͩͮͯͥͨͣͥͫͪͧͣͯͥͬͪ>ه҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈ͫͬͩͮͨͪͯͥͥͫͪͧͣͯͪͨͣͥͬͪ ҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈҈ͪͥͨͪͫͬͭͮͯͥͤͣͥͨͪͧ…

Your post corrupts the rendering of this page on my iPad (4 iOS 6). http://s20.postimage.org/6athqkm3h/image.jpg

I know I see the same on Windows and OSX. Apparently it has something to do with Unicode scripts.

http://en.wikipedia.org/wiki/Script_(Unicode)

Edit: It is slightly different looking on Win7.

Re: Tweet crashes Mac Twitter client

#57
post #33
post #18

Earlier quoted context omitted.

Interesting on chrome Version 24.0.1312.57 the tab crashes when i try to view the tweet but not here. Can someone explain what is happening and why the tweet is affecting the tab and this post does not? In the end both just render unicode characters. And it looks like only Firefox is able to display it correctly on OSX 10.8.

Chrome uses OS X's CoreText for rendering the tab titles, but uses its own text rendering engine for the site body. CoreText is the one that crashes on that unicode.

[deleted]

Re: Tweet crashes Mac Twitter client

#58
post #33
post #18

Earlier quoted context omitted.

Interesting on chrome Version 24.0.1312.57 the tab crashes when i try to view the tweet but not here. Can someone explain what is happening and why the tweet is affecting the tab and this post does not? In the end both just render unicode characters. And it looks like only Firefox is able to display it correctly on OSX 10.8.

Chrome uses OS X's CoreText for rendering the tab titles, but uses its own text rendering engine for the site body. CoreText is the one that crashes on that unicode.

After reducing the html-code in the site, it seems to me that it is not the title that causes the crash, but the p-tag with the specific css-style applied.

Re: Tweet crashes Mac Twitter client

#59
Ok, I narrowed down what kills Chrome.

minimalist example:

  data:text/html;charset=utf-8,%D9%88%20%D2%88%D2%88%D2%88

It seems to be a problem with utf-8 vs. unicode + Times New Roman.

tested on: Chrome 24.0.1312.57 | OS x 10.8.2

Edit: also works with other fonts for example Arial

Post reply on HN