Israel Science and Technology Directory

Language ➪ How to write Unicode characters

You can enter Unicode characters using both decimal and hexadecimal codes in different ways, depending on the platform or application:

Using Decimal Codes

  1. Windows (Alt Code Method):
    • Hold down the Alt key (in Windows).
    • Type the decimal code on the NUMERIC keypad (e.g., Alt+65 for "A")
  2. HTML Entities:
    • Use &# followed by the decimal code and a semicolon.
    • Example: A displays "A".

Using Hexadecimal Codes:

  1. HTML Entities:
    • Use &#x followed by the hexadecimal code and a semicolon.
    • Example: A displays "A".
    • Example: 🎵 displays "🎵".
    • Example: 🪈 displays "⏿".
  2. Programming:
    • In languages like Python: \u0041 or \U00000041.

ADVERTISEMENT