I was noodling around in PHP the other day and discovered that this works: <?php $🍞 = "bread"; echo "Some delicious " . $🍞; I mean, there's no reason why it shouldn't work. An emoji is just a Unicode character (OK, not just a character - but we'll get on to that), so it should be fine to use anywhere. Emoji work perfectly well as function names: function 😺🐶() { echo "catdog!"; } 😺🐶(); Definitions: define( "❓", "huh?" ); echo ❓; And, well, pretty much everywhere: class 🦜 { publi…
Continue reading →
I want to make emoji bigger than the text that surrounds them. At my age and eyesight, it can be difficult to tell the difference between 😃, 😄, and 😊 when they are as small as the text. Is there a way to use CSS to increase the font size of specific characters without having to wrap them in an extra <span> or similar? Yes! Although it is a bit of a hack. This relies on 3 CSS features: src: local(), unicode-range,and size-adjust. Let me walk you through it. @font-face { font-family: &q…
Continue reading →
@font-face { font-family: "power"; src:…
Continue reading →
These tetrominoes are built from emoji and have roughly the same colour as the pieces from Tetris. They are not accessible to people with screen readers. But they're quite fun if you want to play Tetris via a text-only medium. ⬛️⬛️⬛️⬛️⬛️⬛️⬛️⬛️⬛️🟦 ⬛️⬛️⬛️⬛️⬛️⬛️⬛️⬛️⬛️🟦 ⬛️⬛️⬛️⬛️⬛️⬛️⬛️⬛️⬛️🟦 ⬛️⬛️⬛️⬛️⬛️⬛️⬛️⬛️⬛️🟦 ⬛️⬛️⬛️⬛️⬛️⬛️⬛️⬛️⬛️⬛️ 🟩⬛️🟧⬛️⬛️🟥🟥⬛️⬛️⬛️ 🟩🟩🟧⬛️🟨🟨🟥🟥⬛️⬛️ 🟫🟩🟧🟧🟨🟨⬛️⬛️⬛️⬛️ 🟫🟫🟫🟧🟪🟫🟫🟥🟦⬛️ 🟦🟧🟧🟧🟪🟪🟥🟥🟦⬛️ 🟦🟨🟨🟩🟪🟦🟥⬛️🟦⬛️ And the individual pieces: 🟦 🟦 🟦 🟦 🟩 🟩🟩 ⬛️🟩 🟨🟨 🟨🟨 🟪 🟪🟪 🟪 ⬛️🟥 🟥🟥 🟥 ⬛️🟫 ⬛️🟫 🟫🟫 …
Continue reading →
How do you quickly insert a 💩 emoji when using your laptop? I just type ScrLck, p, o, o! What is this 🧙♀️ craft? In your keyboard settings, you should see an option like this: You can set the "Compose" key to be anything you like. Personally, I use the otherwise-useless Scroll Lock button. Now, once you press ScrLck you'll see this symbol . The next few letters you type will be "absorbed" by that symbol and combined to make something new. What's available You can see the default symbol…
Continue reading →
When someone on Twitter mentions my blog, the WordPress WebMentions plugin automatically fetches those Tweets and turns them into comments on the blog post. It looks something like this: That is pretty cool - but has one slight problem. If someone changes their Twitter avatar, or deletes their account, the image disappears and I'm left with a broken image. Booo! So, how do we fix this? With the awesome power of SVG and Emoji! As pointed out by Lea Verou, SVGs can contain Emoji. Which…
Continue reading →
It's useful to share negative results. Not every experiment has an amazing or successful outcome. tl;dr you can't register Punycode .ss domains. This also means Internet users in South Sudan can't register domains using their own writing system. Background The Republic of South Sudan became independent and joined the United Nations back in 2011. A decade later, and it's now possible to register .ss domains. Partly due to the history of the letters SS, and partly because of the way domains…
Continue reading →
All the Cool Kids™ use emoji. On Android, they're usually built right in to the keyboard. But that's not the case on desktops and laptops. Well, unless you build a dedicated emoji keyboard. So I was delighted to find this brilliant little Gnome Extension called Emoji Selector. It sits in your dash, until you click it or press 💠+e. Then you get this pop up. The search bar focuses as soon as you open it, and the results are keyboard selectable. There's the usual groupings of emoji, if yo…
Continue reading →
Let me start by saying that Emoji Passwords are probably a really daft idea. I want to use emoji in my passwords. They're easy to type on a mobile keyboard, easy to remember, and a lot more fun than boring ASCII characters. Let's go with ✅🐎🔋📎 (As close as possible to Correct Horse Battery Staple) I use BitWarden as my password manager. It saves emoji passwords into its database, but has trouble displaying them: Android Browser Plugin Linux App Bug Report I've raised this (minor) …
Continue reading →
It's possible to encode QR images as text. In this case, Emoji! (more…) …
Continue reading →
It has been four years since Unicode officially accepted our Power Symbols proposal into the standard. Now I’m delighted to announce that users on iOS 14 are finally able to use the full set of Power Symbols. ⏻ ⏼ ⭘ ⏽ ⏾ They’re available to use in the browser, in emails, and messages. Here’s how they look, in both dark and light mode: Terence Eden is on Mastodon@edentAnyone with iOS 14 able to see these 5 symbols?If not - who do I still know at Apple that is willing to listen to me grouch at …
Continue reading →
Popular URl shortner Bitly allows users to customise its links. This means you can have all sorty of weird and wonderful character in there. For example: bit.ly/ó¾°ó¾° You can also use Emoji! bit.ly/☹ bit.ly/♐ Well, OK, not all Emoji. If you try to use most of them, the Bitly system craps out and generates broken URls, like so: But you can use most Unicode Miscellaneous symbols - some of which may have Emoji style representations on your system. bit.ly/♔♕♖♗♘♙♚♛♜♝♞♟ Please use …
Continue reading →