Skip to main content

uni

NAME

uni - display Unicode character information

SYNOPSIS

uni [option]... [character]...

DESCRIPTION

Displays information about Unicode characters.

In the absence of a name match option, each character option can independently be any one of:

  • a single character;
  • an integer code point number;
  • a character name;
  • the form U+hexdigits.

NAME MATCH OPTIONS

--egrep, -e

The character arguments are extended regular expressions, matched against character names.

--glob, -g

The character arguments are shell-style patterns, matched against character names.

--html, -H

The character arguments are HTML entity names. Surrounding the name with & and ; is optional.

--match, -m

The character arguments are text that can match anywhere in a character name.

--string, -S

The character arguments are treated as sequences of individual characters. For example, if the argument is tilde, instead of reporting the single character ~, the result will be the five characters t, i, l, d, and e.

--word, -w

The character arguments are full words that must appear in a character name.

BLOCK MATCH OPTION

--block=block, -b block

Limits matches to characters within the given block(s). (Unlike other match options, this is always restrictive even with --any.) A block can be a Unicode block name. It can also be any of the character forms, designating the block containing that character.

PROPERTY MATCH OPTIONS

Currently, these are not user-friendly; the argument must exactly match the form returned by Python unicodedata.

  • --bidi=bidi
  • --category=category
  • --combining=combining
  • --decimal=decimal
  • --decomposition=decomposition
  • --digit=digit
  • --mirrored=mirrored
  • --numeric=numeric
  • --width=width

GENERAL MATCH OPTIONS

--all

Given multiple match conditions, all must apply in order for a character to be selected. This is the default.

--any, -a

Given multiple match conditions, any single match is sufficient for a character to be selected.

FORMAT OPTIONS

--format=format, -f format

Print according to a format string. The string may contain keywords surrounded by curly braces, and other text printed as-is.

The keywords are:

  • {bidirectional} - the character's bidirectional class.
  • {block} - the name of the block containing the character.
  • {category} - the character's category.
  • {char} - the character.
  • {combining} - the character's combining value.
  • {decimal} - the character's decimal value.
  • {decomposition} - the character's decomposition.
  • {digit} - the character's digit value.
  • {eol} - the end-of-line character (newline unless changed by command-line options).
  • {html} - the HTML entity name for the character.
  • {id} - the character name with blanks and hyphends replaced by _.
  • {mirrored} - whether the character is mirrored in bidirectional text.
  • {name} - the character's name.
  • {nfc} - the NFC normalization form, as character names.
  • {NFC} - the NFC normalization form.
  • {nfd} - the NFD normalization form, as character names.
  • {NFD} - the NFD normalization form.
  • {nfkc} - the NFKC normalization form, as character names.
  • {NFKC} - the NFKC normalization form.
  • {nfkd} - the NFKD normalization form, as character names.
  • {NFKD} - the NFKD normalization form.
  • {numeric} - the character's numeric value.
  • {ordinal} - the character's code point number.
  • {utf8} - the UTF-8 encoding of the character, as a sequence of two-digit hexadecimal numbers.
  • {utf16} - the UTF-16 encoding of the character, as one or two four-digit hexadecimal numbers.
  • {u} - the code point number, in the form U+hexdigits.
  • {un} - as {u}, but zero-padded to at least n digits.
  • {v} - the code point number, in decimal.
  • {width} - the character's width class (‘East Asian width’).
  • {x} - the code point number, in hexdecimal (with no prefix).

--char

Print the character alone. Equivalent to --format '{char}'.

--compose

Print in a form useful in XCompose files. Equivalent to --format ': "{char}" U{x} # {name}'.

--long

Print full details about the character

--name

Print the character name. Equivalent to --format '{name}'.

--short

Print the character, code, and name. This is the default. Equivalent to --format '{char} {u} {name}'.

SEPARATOR OPTIONS

--nonewline, -n

Do not print a newline between output for different characters.

--separator=eol, -s eol

Print eol between output for different characters.

--null, -0

Print an ASCII NUL between output for different characters.

Metadata

Release files for uniccin 1.9.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for uniccin 1.9.6
File Size Uploaded
uniccin-1.9.6.tar.gz 29.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for uniccin 1.9.6
File Interpreter ABI Platform
uniccin-1.9.6-py3-none-any.whl Python 3 none any Details

Total release size: 56.1 kB

Release files / uniccin-1.9.6.tar.gz

Download URL uniccin-1.9.6.tar.gz
Size 29.0 kB
Tags Source
SHA-256 checksum
How to use checksums
bb46e1e2e963ad7e23cd5bc9ad1291896dad0dbb09b80baa0e7d516296dd084d
BLAKE2b-256 checksum
How to use checksums
1dac89e1ffa74a44d81db79816c4558df3bbdfd388fd589ec78d59d51f975c15
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.6

Release files / uniccin-1.9.6-py3-none-any.whl

Download URL uniccin-1.9.6-py3-none-any.whl
Size 27.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
01cc7278fae7e2f99d445419be1973caece7c91532f8a4b741b8cc6811c15421
BLAKE2b-256 checksum
How to use checksums
7d30db860214adbf7d2de12db050bdaf1fe387973d6bc3a5d87eae0284392de9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.6

Release history Release notifications | RSS feed

This release

1.9.6 This release

2 release files

1.9.5

2 release files

1.9.4

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page