Cheat Sheet #day4 - Unicode

Cloud TunedCloud Tuned
3 min read

Unicode Cheat Sheet

Unicode is a universal character encoding standard that provides a unique number for every character across different languages and scripts. It supports a vast range of characters, including symbols, emojis, and special characters. This cheat sheet provides a quick reference to commonly used Unicode characters and symbols.

Basic Latin Characters

  • Space: U+0020
  • Exclamation Mark: U+0021 (!)
  • Quotation Marks: U+0022 (")
  • Number Sign: U+0023 (#)
  • Dollar Sign: U+0024 ($)
  • Percent Sign: U+0025 (%)
  • Ampersand: U+0026 (&)
  • Apostrophe: U+0027 (')
  • Parentheses: U+0028 ((), U+0029 ())
  • Asterisk: U+002A (*)
  • Plus Sign: U+002B (+)
  • Comma: U+002C (,)

Mathematical Symbols

  • Less-Than Sign: U+003C (<)
  • Equals Sign: U+003D (=)
  • Greater-Than Sign: U+003E (>)
  • Division Sign: U+00F7 (÷)
  • Multiplication Sign: U+00D7 (×)
  • Plus-Minus Sign: U+00B1 (±)
  • Infinity: U+221E (∞)
  • Pi: U+03C0 (π)
  • Square Root: U+221A (√)

Currency Symbols

  • Dollar Sign: U+0024 ($)
  • Euro Sign: U+20AC ()
  • Pound Sign: U+00A3 (£)
  • Yen Sign: U+00A5 (¥)
  • Indian Rupee Sign: U+20B9 ()

Arrows

  • Left Arrow: U+2190 (←)
  • Up Arrow: U+2191 (↑)
  • Right Arrow: U+2192 (→)
  • Down Arrow: U+2193 (↓)
  • Left-Right Arrow: U+2194 (↔)
  • Up-Down Arrow: U+2195 (↕)
  • Right Arrow with Hook: U+21AA (↪)

Greek Alphabet

  • Alpha: U+0391 (Α), U+03B1 (α)
  • Beta: U+0392 (Β), U+03B2 (β)
  • Gamma: U+0393 (Γ), U+03B3 (γ)
  • Delta: U+0394 (Δ), U+03B4 (δ)
  • Epsilon: U+0395 (Ε), U+03B5 (ε)

Box Drawing

  • Light Horizontal: U+2500 (─)
  • Light Vertical: U+2502 (│)
  • Light Down and Right: U+250C (┌)
  • Light Down and Left: U+2510 (┐)
  • Light Up and Right: U+2514 (└)
  • Light Up and Left: U+2518 (┘)
  • Light Vertical and Right: U+251C (├)
  • Light Vertical and Left: U+2524 (┤)
  • Light Down and Horizontal: U+252C (┬)
  • Light Up and Horizontal: U+2534 (┴)
  • Light Vertical and Horizontal: U+253C (┼)

Miscellaneous Symbols

  • Bullet: U+2022 (-)
  • Middle Dot: U+00B7 (-)
  • Ellipsis: U+2026 (...)
  • Section Sign: U+00A7 (§)
  • Copyright: U+00A9 (©)
  • Registered: U+00AE (®)
  • Degree: U+00B0 (°)
  • Plus/Minus: U+00B1 (±)
  • Micro: U+00B5 (µ)
  • Paragraph: U+00B6 (¶)

Punctuation

  • En Dash: U+2013 (--)
  • Em Dash: U+2014 (---)
  • Left Single Quotation Mark: U+2018 (')
  • Right Single Quotation Mark: U+2019 (')
  • Left Double Quotation Mark: U+201C (")
  • Right Double Quotation Mark: U+201D (")

Emojis

  • Smiling Face: U+263A (☺️)
  • White Smiling Face: U+263A (☺)
  • Thumbs Up: U+1F44D (👍)
  • Heart: U+2764 (❤️)
  • Star: U+2B50 (⭐)
  • Fire: U+1F525 (🔥)
  • Check Mark: U+2714 (✔️)
  • Cross Mark: U+274C (❌)
  • Warning Sign: U+26A0 (⚠️)

Mathematical Operators

  • For All: U+2200 (∀)
  • There Exists: U+2203 (∃)
  • Nabla: U+2207 (∇)
  • Element Of: U+2208 (∈)
  • Not Element Of: U+2209 (∉)
  • Union: U+222A (∪)
  • Intersection: U+2229 (∩)
  • Integral: U+222B (∫)
  • Double Integral: U+222C (∬)
  • Triple Integral: U+222D (∭)

How to Use Unicode Characters

  • In HTML: Use the &#x or &# format.

    &#x03B1;   <!-- α (alpha) -->
    &#945;     <!-- α (alpha) -->
    
  • In JavaScript: Use the \u format.

    console.log('\u03B1');   // α
    
  • In Python: Use the \u format.

    print('\u03B1')   # α
    

Useful Resources

  • Unicode Consortium: unicode.org
  • Unicode Table: unicode-table.com
  • Character Map (Windows): charmap utility to find and use Unicode characters.
  • Emoji Picker (macOS): Press Ctrl + Cmd + Space to open the emoji picker.

This cheat sheet provides a quick reference to some commonly used Unicode characters and their codes, helping you easily incorporate a variety of symbols and characters into your projects.

0
Subscribe to my newsletter

Read articles from Cloud Tuned directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Cloud Tuned
Cloud Tuned