News for hackers. Stuff that matters.
Re:Abusing Emoji in iOS and Your Mac by WiseWeasel on Thursday September 20, 2012 @05:03PM (#4550670)
Here's hoping for a monospace emoji font variant, so we can use them in our code. That 'pile of shit' tag might come in handy.
Re:Abusing Emoji in iOS and Your Mac by TazeTSchnitzel on Friday September 21, 2012 @04:02AM (#4552795)
Well, it's in Unicode... why not recreate the control character smiley faces from the US IBM code page? :)
Re:Abusing Emoji in iOS and Your Mac by abruzzi on Thursday September 20, 2012 @04:59PM (#4550641)
Re:Abusing Emoji in iOS and Your Mac by pixelcort on Thursday September 20, 2012 @03:48PM (#4550333)
Don't forget that most of these characters fall outside the Unicode BMP. Testing your APIs with these is a great way to see if any part of them (database, serialization, etc) can't handle these codepoints.
Re:Abusing Emoji in iOS and Your Mac by gojomo on Thursday September 20, 2012 @04:07PM (#4550415)
Unless the Emoji-American community steps out of the shadows and organizes into effective advocacy groups, many of these gaps in functionality will never be closed.
Re:Abusing Emoji in iOS and Your Mac by w1ntermute on Thursday September 20, 2012 @02:52PM (#4550074)
Doesn't work in the latest Chrome on Windows 7. What fonts do I have to get to see piles of poo[0] and love hotels[1] properly?

0: http://boingboing.net/2012/02/03/unicodes-pile-of-poo-cha.ht...

1: http://unicodelovehotel.com/

Re:Abusing Emoji in iOS and Your Mac by sp332 on Thursday September 20, 2012 @04:39PM (#4550557)
That second one is oddly broken (FF on Win7). I see the fallback image http://unicodelovehotel.com/unicodelovehotel.jpg but when I select it, I get a bed with a heart over it. 🏩 I believe that's Verdana in my browser.

  🏩 <--
Re:Abusing Emoji in iOS and Your Mac by brendannee on Friday September 21, 2012 @03:42AM (#4552750)
Unicodelovehotel.com was on hacker news a while back. http://news.ycombinator.com/item?id=3837359

Check out the source to see all the fallbacks I implemented to make at least something show up in most browsers/platforms.

Re:Abusing Emoji in iOS and Your Mac by brendannee on Friday September 21, 2012 @03:41AM (#4552745)
My http://unicodelovehotel.com site has really been coming in handy lately.
Re:Abusing Emoji in iOS and Your Mac by lbotos on Thursday September 20, 2012 @04:14PM (#4550450)
It looks like [1] specifies 'Lucida Grande' in the CSS.
Re:Abusing Emoji in iOS and Your Mac by derleth on Thursday September 20, 2012 @06:35PM (#4551116)
Re:Abusing Emoji in iOS and Your Mac by Dylan16807 on Thursday September 20, 2012 @09:49PM (#4551800)
I installed symbola months ago but nothing uses it. Do I have to edit the registry entries related to font fallbacks? What have I failed to do?
Re:Abusing Emoji in iOS and Your Mac by ars on Friday September 21, 2012 @04:49AM (#4552893)
The old one didn't have these symbols. When I installed it on debian linux (called: ttf-ancient-fonts - but you have to use the testing repository) it was used immediately.
Re:Abusing Emoji in iOS and Your Mac by Dylan16807 on Friday September 21, 2012 @05:12PM (#4555828)
Well I remember testing it on love hotel, which I specifically checked was in symbola if I set the font manually. But it wouldn't render if it was embedded in normal text.
Re:Abusing Emoji in iOS and Your Mac by derleth on Friday September 21, 2012 @01:29AM (#4552458)
It's probably been more than five years since I've installed a font under Windows, so I'll just hope MSFT's own tutorial answers your question:

http://www.microsoft.com/typography/truetypeinstall.mspx

Re:Abusing Emoji in iOS and Your Mac by ars on Friday September 21, 2012 @04:48AM (#4552891)
The main site for symbola is here: http://users.teilar.gr/~g1951d/
Re:Abusing Emoji in iOS and Your Mac by derleth on Friday September 21, 2012 @03:45PM (#4555398)
That site seemed to be down when I posted.
Re:Abusing Emoji in iOS and Your Mac by jff on Friday September 21, 2012 @01:48AM (#4552506)
https://gist.github.com/3739562

Russ Cox and Dennis Ritchie remind us (from a decade or two ago) that just because you can, doesn't mean you should

Re:Abusing Emoji in iOS and Your Mac by xpaulbettsx on Thursday September 20, 2012 @02:43PM (#4550018)
If you're having trouble seeing the Emoji, they work great on Windows 8 and IE 10
Re:Abusing Emoji in iOS and Your Mac by fwr on Thursday September 20, 2012 @03:28PM (#4550252)
Best viewed at 1024x768
Re:Abusing Emoji in iOS and Your Mac by orInstall on Thursday September 20, 2012 @03:41PM (#4550302)
Re:Abusing Emoji in iOS and Your Mac by fphilipe on Friday September 21, 2012 @01:59AM (#4552527)
Wikipedia has had article URLs with emojis for quite some time now:

* http://en.wikipedia.org/wiki/🍔 -> Hamburger

* http://en.wikipedia.org/wiki/💩 -> Feces

* http://en.wikipedia.org/wiki/👀 -> Human eye

* http://en.wikipedia.org/wiki/🏧 -> Automated teller machine

Re:Abusing Emoji in iOS and Your Mac by bandy on Thursday September 20, 2012 @02:37PM (#4549979)
OSX Snow Leopard: Fail. Junk display in Safari & Chrome, Hex boxen on Firefox. Actually works in the latest version of Camino, although the story seems to have come out not quite right: Santa, Rocket, People, Fish, Pizza, Building, Movie camera, Earmuffs, Watermelon, Bike, Chicken, (Hide-and-seek) Seeker.

A "If you don't see the emoji, then download these fonts" right up-front would have been immensely helpful.

Re:Abusing Emoji in iOS and Your Mac by masklinn on Thursday September 20, 2012 @03:18PM (#4550206)
> Actually works in the latest version of Camino, although the story seems to have come out not quite right: Santa, Rocket, People, Fish, Pizza, Building, Movie camera, Earmuffs, Watermelon, Bike, Chicken, (Hide-and-seek) Seeker.

I get the exact same result on iOS5[0], so apparently the story just has no relation to the emoji. And the characters are not super clear at default font sizes

There's a broken [NEW] emoji lower down the page though, displays as a hexbox.

[0] confirmed by UnicodeChecker, the characters are {FATHER CHRISTMAS} {ROCKET} {TWO MEN HOLDING HANDS} {FISH} {SLICE OF PIZZA} {LOVE HOTEL} {MOVIE CAMERA} {HEADPHONE} {WATERMELON} {BICYCLE} {ROOSTER} {SEE-NO-EVIL MONKEY}

Re:Abusing Emoji in iOS and Your Mac by Turing_Machine on Thursday September 20, 2012 @03:59PM (#4550380)
He says right in the post that it's a feature of Lion and Mountain Lion.
Re:Abusing Emoji in iOS and Your Mac by bandy on Friday September 21, 2012 @01:26PM (#4554698)
Those of us who haven't upgraded, for whatever reason, can just push a rope, eh? Display is linked to the Unicode renderer and available fonts. Either Camino did some sort of net-fetch magic for the characters it didn't have fonts for or my regular browsers are slightly broken and don't realize that they actually have the right font available.
Re:Abusing Emoji in iOS and Your Mac by rlt3 on Thursday September 20, 2012 @04:31PM (#4550526)
Perhaps I am missing something, but how does a picture of Santa Claus, Rocket, 2 People, Fish, Pizza and other seemingly out of place things translate into "Let's go meet at Chipotle and..."

I assume that this is an error. I couldn't get it to work in Firefox on OSX 10.7 so I used Safari.

http://i.imgur.com/Tpnyc.png

Re:Abusing Emoji in iOS and Your Mac by strager on Thursday September 20, 2012 @05:44PM (#4550908)
It's a joke.
Re:Abusing Emoji in iOS and Your Mac by rlt3 on Thursday September 20, 2012 @07:23PM (#4551289)
Oh man, I feel stupid.

I attempted to read the article at first, but Firefox, on OSX, didn't display anything at all. So I got confused and kept re-reading the first paragraph or so before I realized something was missing. By that point I wasn't focused on actually reading the article, but getting the emoji on the screen.

All well

Re:Abusing Emoji in iOS and Your Mac by jkubicek on Thursday September 20, 2012 @04:59PM (#4550645)
Funny. I ran into an issue a few weeks ago where coworkers couldn't see me when I was online. Turns out my computer name (🐒💨) caused an error in Adium (which most coworkers use for chat).

Who knows what other weird issues this was causing... so I reverted back to a proper ASCII computer name.

Re:Abusing Emoji in iOS and Your Mac by citricsquid on Thursday September 20, 2012 @07:11PM (#4551248)
quitter!
Re:Abusing Emoji in iOS and Your Mac by ken on Thursday September 20, 2012 @04:06PM (#4550411)
I was actually playing with using Unicode emoji for a webpage this week. Being able to use characters as icons would be fantastically easy for a lot of use cases!

Unfortunately, as others have noted, it doesn't work on many platforms: Safari works on 10.7+, Firefox doesn't seem to support it at all yet [1], and I don't follow Chromium that much any more but it seems like it's not there yet, either [2].

[1]: https://bugzilla.mozilla.org/show_bug.cgi?id=715798 [2]: http://code.google.com/p/chromium/issues/detail?id=62435

Re:Abusing Emoji in iOS and Your Mac by molf on Thursday September 20, 2012 @06:58PM (#4551198)
Emoji work in most browsers. The problem is that many fonts are missing the corresponding characters. You just need to pick a good font. You'll be missing full color icons, though.

Example page with an emoji character that works almost everywhere (with a web font based on Symbola): http://unicodepanda.com/

Re:Abusing Emoji in iOS and Your Mac by ken on Friday September 21, 2012 @10:31AM (#4553873)
I would guess that most fonts will lack emoji characters, and always will, just like most fonts won't have all umpteen-thousand hanzi/kanji. I'm no expert on HTML fonts, but I thought it was the browser's job to find and use a font which contains the character on the page. I can write Japanese text, and specify it should be "Comic Sans", and every web browser I've ever tried will pick a reasonable font to display them, rather than leaving a Comic Sans-sized blank area on the page.

OS X comes with at least one font with these characters, yet apart from Safari, none of my web browsers can seem to use it. To me, that means it doesn't work.

Re:Abusing Emoji in iOS and Your Mac by tmarthal on Thursday September 20, 2012 @09:57PM (#4551824)
While not exactly what you are proposing, ff you want/need to use characters as icons, there is a pretty neat hack called Font Awesome (http://fortawesome.github.com/Font-Awesome/). It's used to replace the twitter bootstrap icons with font files; seems to work pretty well so far (with no need to re-color individual icons... you can style the font/icons with css).

Things like <div class="icon-flag" style="color:red; font-size:36px"> will create a 36point red flag character for you.

Re:Abusing Emoji in iOS and Your Mac by tg3 on Thursday September 20, 2012 @03:29PM (#4550255)
Has anybody used Emoji in Dropbox folder names?
Re:Abusing Emoji in iOS and Your Mac by fishcakes on Thursday September 20, 2012 @04:41PM (#4550564)
if you haven't tried using 💰 as the name of a branch in git well then you haven't lived.
Re:Abusing Emoji in iOS and Your Mac by brendannee on Friday September 21, 2012 @03:46AM (#4552760)
Just renamed my wireless networks with a cityscape and bar theme: https://img.skitch.com/20120921-8r3d1uchbsphatfjf9iuc9wx2c.p...
Re:Abusing Emoji in iOS and Your Mac by blktiger on Thursday September 20, 2012 @02:57PM (#4550096)
This has got to be one of the most beautiful/ugly things I have ever seen!
Re:Abusing Emoji in iOS and Your Mac by cutie on Thursday September 20, 2012 @05:44PM (#4550902)
It's a shame on OSX/iOS. When I've used these characters and viewed on Safari it turns them into raster icons ... exactly what I don't want. Windows and Linux are fine.

Anyone know how to disable this "feature?"

Re:Abusing Emoji in iOS and Your Mac by batista on Thursday September 20, 2012 @08:57PM (#4551628)
>It's a shame on OSX/iOS. When I've used these characters and viewed on Safari it turns them into raster icons ... exactly what I don't want. Windows and Linux are fine.

Your comment does not make sense.

1) When "you've used these characters" where? On a webpage?

2) They ARE raster icons. What did you expect them to be? Fonts don't have multiple colors.

3) How does "Windows and Linux" handle them better? Most apps there don't handle them AT ALL.

Re:Abusing Emoji in iOS and Your Mac by mkl on Friday September 21, 2012 @02:10AM (#4552553)
You seem to be mistaken. Some operating systems display them as colour images, but that is not essential at all. They are mapped to Unicode characters, and so when displayed as characters, as in normal applications with an appropriate font, they are vector-based and monochrome. See e.g. http://www.unicode.org/charts/PDF/U1F300.pdf linked from http://en.wikipedia.org/wiki/Emoji
Re:Abusing Emoji in iOS and Your Mac by batista on Friday September 21, 2012 @03:16AM (#4552695)
Yes, but the full on experience is the translation to full color images.

That's how the Japanese use them in their mobiles, no?

Re:Abusing Emoji in iOS and Your Mac by TazeTSchnitzel on Friday September 21, 2012 @04:05AM (#4552805)
Yep.
Re:Abusing Emoji in iOS and Your Mac by cutie on Friday September 21, 2012 @02:17AM (#4552565)
These are unicode codepoints and handled just fine everywhere but on Apple gear, and (I think IE6/XP). If you've never seen them it means you are on Apple or never bothered to install the fonts.
Re:Abusing Emoji in iOS and Your Mac by MattBearman on Friday September 21, 2012 @04:51AM (#4552895)
Annoyingly Emoji is not rendered in Google Chrome on OSX Lion (my main browser), I just get blank spaces, it's the same in Firefox. It seems Emoji only works in Safari on Lion.
Re:Abusing Emoji in iOS and Your Mac by robbiep on Friday September 21, 2012 @09:56PM (#4556833)
yeah, I found the same - however on mouseover and clickthrough on the wiki links to the emoji pages (above this post in the comments) I am getting the characters in both the link preview and in the title bar.

strange

Re:Abusing Emoji in iOS and Your Mac by rdevnull on Thursday September 20, 2012 @09:27PM (#4551739)
see what happens when the zoo takes over https://twitter.com/1dotai/status/248950126717050880
Re:Abusing Emoji in iOS and Your Mac by phillco on Thursday September 20, 2012 @06:29PM (#4551096)
This was a really entertaining post. Well done! 👍
Re:Abusing Emoji in iOS and Your Mac by emehrkay on Friday September 21, 2012 @10:48AM (#4553961)
My work computer (Mac) is named

> (╯°□°)╯︵ ┻━┻

With the table replaced by my name upside down. Windows machines don't even bother to show it.

Re:Abusing Emoji in iOS and Your Mac by loeschg on Thursday September 20, 2012 @07:32PM (#4551318)
Is there any way to make Emoji part of a custom bash prompt in Terminal? That would be rad.
Re:Abusing Emoji in iOS and Your Mac by chrisrogers on Thursday September 20, 2012 @07:52PM (#4551408)
yes, terminal.app will render emoji. A friend has a pizza slice as his prompt
Re:Abusing Emoji in iOS and Your Mac by loeschg on Monday October 01, 2012 @11:06AM (#4597397)
Do you know how he set the custom prompt? I was trying to edit my .bash_profile and couldn't use emoji.
Re:Abusing Emoji in iOS and Your Mac by iamdann on Thursday September 20, 2012 @03:42PM (#4550303)
Haha, well done. Bravo. 👏
Re:Abusing Emoji in iOS and Your Mac by millerm on Thursday September 20, 2012 @09:00PM (#4551643)
That article made me laugh pretty freakin' hard.
Re:Abusing Emoji in iOS and Your Mac by azar1 on Thursday September 20, 2012 @03:18PM (#4550208)
This is amazing.
Re:Abusing Emoji in iOS and Your Mac by drdoooom on Thursday September 20, 2012 @04:38PM (#4550553)
I guess he read the reddit post 2 days ago.
Re:Abusing Emoji in iOS and Your Mac by callumacrae on Friday September 21, 2012 @01:03PM (#4554553)
My new iPhone is now a piece of poo :-D