Jump to content
Eana Hufwe

Search (the entire) Unicode (and Emoji)

Recommended Posts

Search UnicodeSearch Unicode

Search Unicode is an Alfred 4 Workflow to lookup and reverse lookup Unicode characters and emoji with their names.

This workflow is also published on GitHub at https://github.com/blueset/alfred-search-unicode.

Download

Download it at its GitHub release page.

You need to install Python 3 on your macOS in order for this to work. You can install that with Homebrew using the command below:

brew install python

Usage

Search character by description

Screenshot for command u superscript

Type u keyword (ex. u superscript) to get a list of characters matching the keyword.

  • Press Return to copy the character to clipboard (ex. )
  • Press Cmd + Return to copy its Hex code to clipboard (ex. U+2070)
  • Press Option + Return to copy its name to clipboard (ex. Superscript Zero)

Search character by code point

Screenshot for command u fffd ff10

Type u codepoint [[codepoint] ...] (ex. u fffd ff10) to look up characters by its codepoint.

The same 3 options apply here too.

Search emoji by name

Screenshot for command e face

Type e keywords (ex. e face) to look up characters by its codepoint. Press Return to copy the character to clipboard (ex. 😀)

Identify characters in a string

Screenshot for command uid lenny face

Type uid string (ex. uid ( ͡° ͜ʖ ͡°)) to identify characters in a string.

For the first 4 rows (hex sequence, integer sequence, UTF-8 sequence and XML escape sequence):

  • Press Return to copy the sequence to clipboard (ex. 28 20 0361 B0 20 035C 0296 20 0361 B0 29)

For the following rows that identifies each individual characters:

  • Press Cmd + Return to copy its Hex code to clipboard (ex. U+2070)
  • Press Option + Return to copy its name to clipboard (ex. Superscript Zero)

Credit

This workflow depends on resources from:

License

Copyright 2019 Eana Hufwe <https://1a23.com>

Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the “Software”), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following
conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.

Share this post


Link to post

Great workflow. Its replacing a previous one, One recommendation. I would either add another script filter to include all skin tones or modify your script to include `["./uni", "-q", "emoji", "-tone", "all", query]).decode()`

 

I did that because I like to see all tones.

 

image.thumb.png.e0ed587d15060a8cdb51183f9d147766.png

 

I also added a Auto Paste + Transient in Clipboard and No Auto Paste + Transient in Clipboard

 

image.png.b029d73f011184fc9a194d8e5fb6deb1.png

Share this post


Link to post

Very nice.

 

Bear in mind that the Unicode Identify feature often won't work as expected because Alfred always normalises Script (Filter) input to NFD. So if you enter U+00E4 (Latin small letter a with diaeresis), your Script Filter is going to receive and show U+0061 U+0308 (Latin small letter a + Combining diaeresis) instead.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...