P5-unicode-eastasianwidth

Jul 20, 2023

East Asian Width properties

UnicodeEastAsianWidth provide user-defined Unicode properties that deal with width status of East Asian characters, as specified in http//www.unicode.org/unicode/reports/tr11/.

It exports the following functions to the caller’s scope, to be used by Perl’s Unicode matching system InEastAsianFullwidth, InEastAsianHalfwidth, InEastAsianAmbiguous, InEastAsianNarrow InEastAsianWide, InEastAsianNeutral.

In accord to TR11 cited above, two additional context-sensitive properties are exported InFullwidth union of Fullwidth and Wide and InHalfwidth union of Halfwidth, Narrow and Neutral.

Ambiguous characters are treated by default as part of InHalfwidth, but you can modify this behaviour by assigning a true value to $UnicodeEastAsianWidthEastAsian at compile time within a BEGIN block before loading this module



Checkout these related ports:
  • Zxing-cpp - ZXing C++ Library for QR code recognition
  • Zu-hunspell - Zulu hunspell dictionaries
  • Zu-aspell - Aspell Zulu dictionary
  • Zq - Easier and faster alternative to jq
  • Zorba - General purpose C++ XQuery processor
  • Zenxml - Simple C++ XML Processing
  • Zed - Command-line tool to manage and query Zed data lakes
  • Yq - Command-line YAML and XML processor, jq wrapper for YAML/XML documents
  • Yould - Pronounceable word generator
  • Yodl - Easy to use but powerful document formatting/preparation language
  • Yi-hunspell - Yiddish hunspell dictionaries
  • Yi-aspell - Aspell Yiddish dictionary
  • Yelp-xsl - DocBook XSLT stylesheets for yelp
  • Yelp-tools - Utilities to help manage documentation for Yelp and the web
  • Ydiff - Diff readability enhancer for color terminals