Expand description
Utilities for handling characters in the Unicode “Halfwidth and Fullwidth Forms” block.
Functions§
- is_
nonstandard_ width - Checks if
chis in the Unicode “Halfwidth and Fullwidth Forms” block. - to_
fullwidth - Returns the full-width form for
ch. If no full-width form forchexists, orchis already in full-width form, returnsNone. - to_
halfwidth - Returns the half-width form for
ch. If no half-width form forchexists, orchis already in half-width form, returnsNone. - to_
standard_ width - Returns the standard-width form for
ch. Ifchis not in the Unicode “Halfwidth and Fullwidth forms” block, returnsNone.