Char::Prop::Unicode::BidiClass
Unicode 8.0.0 Bidi_Class property
SYNOPSIS
use Char::Prop::Unicode::BidiClass;
warn unicode_bidi_class_n 0x4E00;
warn unicode_bidi_class_c "\x{4E00}";
DESCRIPTION
The Char::Prop::Unicode::BidiClass
module exports two functions, unicode_bidi_class_n
and unicode_bidi_class_c
, both return the value of Unicode 8.0.0 Bidi_Class property for the specified character (or code position). unicode_bidi_class_n
accepts a number representing the code position, while unicode_bidi_class_c
expects a (utf8-flagged) character, as the first and only argument.
UNICODE VERSION
This module supports Unicode 8.0.0.
This module is expected to be updated once a newer version of Unicode is released.
PROPERTY VALUES
The functions return one of following property values:
- -
L
- -
R
- -
EN
- -
ES
- -
ET
- -
AN
- -
CS
- -
B
- -
S
- -
WS
- -
ON
- -
BN
- -
NSM
- -
AL
- -
LRO
- -
RLO
- -
LRE
- -
RLE
- -
PDF
- -
LRI
- -
RLI
- -
FSI
- -
PDI
SEE ALSO
UAX #9: Unicode Bidirectional Algorithm <http://www.unicode.org/reports/tr9/#Bidirectional_Character_Types>
.
UAX #44: Unicode Character Database <http://www.unicode.org/reports/tr44/#Bidi_Class>
.
<http://www.unicode.org/Public/UNIDATA/extracted/DerivedBidiClass.txt>
.
DISTRIBUTION
This module is part of the CharClass project. The latest version of the CharClass package is available from <http://suika.fam.cx/www/charclass/readme>
.
AUTHOR
This module is generated by generate-prop-module.pl
, which is written by Wakaba <w@suika.fam.cx>.
The module contains character property data extracted from Unicode Data Files distributed by Unicode Consortium under the terms <http://www.unicode.org/copyright.html#Exhibit1>
.
LICENSE
Copyright 2011 Wakaba <w@suika.fam.cx>.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.