Unicode Character "│" (U+2502)

The character (Box Drawings Light Vertical) is represented by the Unicode codepoint U+2502. It is encoded in the Box Drawing block, which belongs to the Basic Multilingual Plane. It was added to Unicode in version 1.1 (June, 1993). It is HTML encoded as │.

Main Unicode Properties

Name Box Drawings Light Vertical
Unicode Codepoint U+2502
Unicode Version 1.1 (June, 1993)
Block Box Drawing
Plane Basic Multilingual Plane

Bidirectional Data

Bidirectional class Other Neutral (ON)
Is mirrored? No

Other Unicode Data

Category Other Symbol
Script Code for undetermined script
Combining Class Not Reordered

U+2502 Conversion

HTML (decimal) │
HTML (hex) │
HTML (named) │
URL Escape Code %E2%94%82
CSS \002502
JavaScript, JSON \u2502
C, C++, Java \u2502
Python \u2502
Rust \u{2502}
Ruby \u2502

How to type "│"

  • Windows ?: Hold Alt, then type 2 5 0 2. Release Alt.
  • Mac ?: Hold Alt ⌥, then type 2 5 0 2. Release Alt.

Preview

  • Times, Times New Roman, serif
  • Helvetica, Arial, sans-serif
  • Courier, Courier New, monospace

UTF Encodings

UTF-8 (hex) 0xE2 0x94 0x82
UTF-16 (hex) 0x2502
UTF-32 (hex) 0x00002502

Characters based on "│" (U+2502)

References