Reference LGR for language: Arabic (ar) lgr-second-level-arabic-language-18may21-en

This document is mechanically formatted from the above XML file for the LGR. It provides additional summary data and explanatory text. The XML file remains the sole normative specification of the LGR.

Date 2021-05-18
LGR Version 2 (Second Level Reference LGR)
Language ar (Arabic Language)
Unicode Version 6.3.0

Table of Contents

1 Description

Reference Label Generation Rules for the Arabic Language

Overview

This document specifies a reference set of Label Generation Rules (LGR) for the Arabic language for the second level. The starting point for the development of this LGR can be found in the related Root Zone LGR [RZ-LGR-4-Arab]. For details and additional background on the script, see "Proposal for Arabic Script Root Zone LGR", Version 3.4, 18 November 2015 [Proposal-Arabic]. Additional work was done by a TF-AIDN group to create extensions appropriate to the second level and these are incorporated in this LGR. (See "Methodology" below). The format of this file follows [RFC 7940].

The document contains certain provisions for customization. (See "Customizing actions for International Reachability" below.)

Repertoire

The repertoire is a subset of the one described in Section 3.2 of [Proposal-Arabic] and only includes the 36 code points for letters in active everyday general use in the Arabic language. For the second level, the repertoire has been augmented with the HYPHEN-MINUS, and two sets of decimal digits:

for a total of 57 repertoire elements.

This LGR does not include combining marks or code point sequences. All combining marks have been excluded for these reasons:

For further details, see Section 3.2, "Code point repertoire included" in [Proposal-Arabic]. (The proposal cited has been adopted for the Arabic script portion of the Root Zone LGR.)

Code points outside the Arabic language that are listed in this file are targets for out-of-repertoire variants and are identified by a reflexive (identity) variant of type "out-of-repertoire-var". They do not form part of the repertoire.

Each code point or range is tagged with the script or scripts that the code point is used with, and one or more references documenting sufficient justification for inclusion in the repertoire, see "References" below. Comments identify the languages using the code point.

Correlation Between Repertoire and Bidi Rules

Because this LGR contains only a subset of PVALID code points, the Bidi rules expressed in section 2 of RFC 5893 [160] (Bidi Rule) can be simplified to two constraints:

Variants

This reference LGR is designed for use in zones shared by more than one language. Where appropriate, cross-language variants have been defined to mutually exclude labels from different languages that could otherwise be substituted by the users. Once a label has been delegated for one language, any such variant labels from other languages could be blocked. Any label containing at least one code point that is not a cross-language variant would be considered distinct. Because of that, even large numbers of defined cross-language variants generally do not lead to a high percentage of labels experiencing a collision.

Digit Variants: All Arabic digits are treated as semantic variants of the corresponding common (ASCII) digits. By transitivity, they are also semantic variants of any native digits in scripts that also include the common digits. Because of the restriction on leading digits, most labels would contain a unique code point in addition to any digits, thus no variant labels would actually result from any pro-forma cross-script variants. To keep digit variant sets manageable in zones where multiple scripts are present, no attempt has been made at identifying cross-script variants among digits of different numeric value or between a digit in one script and a letter in another, such as between digit zero and Latin letter 'o'.

Variant Disposition: This LGR includes "blocked" and "allocatable" variants, assigned according to Section 4, "Final recommendation of variants for Top Level Domains (TLDs)" in [Proposal-Arabic]. These recommendations balance the desire to minimize the number of possible allocatable variants with the need to keep the definition of variants simple. See also the comments given in the listing.

For the second level, three additional variant types are added: "optionally-allocatable", "activated", and "optionally-activated". They are used to improve user acceptance. The rationale for these new types is provided below.

Methodology for Defining Variants

In generating the variant tables, a number of concepts have been used:

Note: Please note that the set of supported languages used for implementing the above concepts (namely international reachability and no mixing between languages) is a first version. The set may be updated in the future by adding new languages whenever they become ready.

The specification of variants in this reference LGR follows the guidelines in [RFC 8228].

Character Classes

This proposal defines the following named character classes:

Whole Label Evaluation (WLE) and Context Rules

Common Rules

Right-To-Left Rules

Default Actions

Actions include the default actions for LGRs as well as that needed to invalidate labels with misplaced combining marks. They are marked with ⍟. For a description see [RFC 7940].

Arabic Language-specific Rules

The following rules aim at reducing the allocation of redundant labels.

Arabic Language-specific Actions

The three non-default variant mapping types used in this reference LGR trigger actions that result in variant label dispositions as follows:

Variant mappings of type "activated" lead to a disposition of "activated", which means the variant label should be delegated. This variant type is used here for the variant mappings between European and Arabic-Indic digits, to guarantee that labels differing only by the digit set used will all be delegated. Activated variants are handled by the first action above, and are not affected by the optional customizations described below.

Customizing Actions for International Reachability

As described above, this LGR is designed so that full "international reachability" is optionally available. It can easily be enabled with a small customization.

The disposition for the second of the actions listed above is by default set to "allocatable" which makes the variant available to registrants that would like to support international reachability. Some registry operators may desire to make support for such variants mandatory, in which case the disposition (disp="allocatable" in the XML) for the relevant action could be changed from "allocatable" to "activated" without further changes to the LGR.

The disposition for the last of the actions listed above is by default set to "blocked" which reserves the variants of type "optionally-allocatable". Some registry operators may desire to support such variants as allocatable, in which case the disposition (disp="blocked" in the XML) for the relevant action could be changed from "blocked" to "allocatable" without further changes to the LGR.

Note that this reference LGR allows variant labels containing out-of-repertoire code points to be "allocatable" or "activated". However, independent of which of the customizations for disposition is chosen above, an original label (as applied for) that contains any of the affected code points would remain unavailable.

Most of the code points involved in labels resulting in "activated" or "allocatable" actions are subject to a "single-language-label" rule to decrease the number of activated or allocatable variants. This is especially a concern for the "activated" action which results in forced delegation.

If optional variant labels are all made allocatable, a significantly large number of allocatable variant labels can potentially be created. Keeping the allocatable variant labels manageable is advised by SSAC in their [SAC060] report. One way to contain such variant labels, as suggested by the Arabic script community, is to allow only the variant labels which are usable and still block those which may be redundant, e.g. cannot be typed from a single keyboard supporting a given language. For this purpose, the no languages mixing rule is part of this LGR.

Furthermore, applying this customization to variant sets involving code points which are not restricted by the "single-language-label" rule should be done with caution. This is especially true for the variant set including the ALEF characters, for which an external policy should be established to ensure that only a strictly limited number of variant labels are allocated. It may not be possible to create a general policy that determines which of the variants from among a potential large variant pool are indeed suitable; therefore, the selection may have to be left as a choice to the registrant, but within a strict cap on their number.

Methodology and Contributors

This reference LGR for the Arabic language for the 2nd Level has been edited by Michel Suignard and Asmus Freytag, based on extensive community input. This LGR is based on the Root Zone LGR for Arabic and relies on information contained or referenced therein, see [RZ-LGR-4-Arab]. Suitable extensions for the second level have been applied according to the [Guidelines]. The specific features related to the Arabic Language LGR were drafted by a TF-AIDN sub-group (namely in alphabetical order: Abdalmonem Tharwat Galila , Abdeslam Nasri , Abdulaziz Al-Zoman, Abdulrahman Alghadir, Hazem Hezzah, Nabil Benamar, Raed Alfayez, Tarik Merghani). In addition, Sarmad Hussain provided editorial support.

For more information on methodology and contributors to the underlying Root Zone LGR, see [Proposal-Arabic], as well as [RZ-LGR-Overview].

Changes from Version 1

Language tag has been updated.

References

General references for the language

The following general references cited in this document

[Guidelines]
ICANN, "Guidelines for Developing Reference LGRs for the Second Level, (Los Angeles, California: ICANN, 27 May 2020),
https://www.icann.org/en/system/files/files/lgr-guidelines-second-level-06jan16-en.pdf
[IAB]
Internet Architecture Board (IAB), "IAB Statement on Identifiers and Unicode 7.0.0"
https://www.iab.org/documents/correspondence-reports-documents/2015-2/iab-statement-on-identifiers-and-unicode-7-0-0/
[IDN-GUIDE]
Saudi Network Information Center, "Guidelines Rules for writing Arabic IDNs under the IDN ccTLD (السعودية.)"
http://nic.net.sa/docs/Guidelines_for_writing_Arabic_IDNs_under_the_IDN_ccTLD_V1.2-en.pdf
[MSR-4]
Integration Panel, "Maximal Starting Repertoire — MSR-4 Overview and Rationale", 7 February 2019,
https://www.icann.org/en/system/files/files/msr-4-overview-25jan19-en.pdf
[Proposal-Arabic]
TF-AIDN, "Proposal for Arabic Script Root Zone LGR", Version 3.4, 18 November 2015
https://www.icann.org/en/system/files/files/arabic-lgr-proposal-18nov15-en.pdf
[RFC 5564]
RFC 5564, El-Sherbiny, et al. "Linguistic Guidelines for the Use of the Arabic Language in Internet Domains", RFC5564, February 2010,
https://tools.ietf.org/html/rfc5564
[RFC 6365]
Hoffman, P. and J. Klensin, "Terminology Used in Internationalization in the IETF", BCP 166, RFC 6365, DOI 10.17487/RFC6365, September 2011,
http://www.rfc-editor.org/info/rfc6365
[RFC 7940]
Davies, K. and A. Freytag, "Representing Label Generation Rulesets Using XML", RFC 7940, August 2016,
http://www.rfc-editor.org/info/rfc7940
[RFC 8228]
A. Freytag, "Guidance on Designing Label Generation Rulesets (LGRs) Supporting Variant Labels", RFC 8228, August 2017,
https://www.rfc-editor.org/info/rfc8228
[RZ-LGR-Overview]
Integration Panel, "Root Zone Label Generation Rules - LGR-4: Overview and Summary", 5 November 2020 (PDF),
https://www.icann.org/sites/default/files/lgr/lgr-4-overview-05nov20-en.pdf
[RZ-LGR-4-Arab]
ICANN,, "Root Zone Label Generation Ruleset for the Arabic Script", (Last published as part of RZ-LGR-2, see
https://www.icann.org/sites/default/files/lgr/lgr-2-overview-26jul17-en.pdf)
[SAC060]
ICANN Security and Stability Advisory Committee (SSAC), "SSAC Comment on Examining the User Experience Implications of Active Variant TLDs Report", 23 July 2013,
https://www.icann.org/en/system/files/files/sac-060-en.pdf
[TF-AIDN]
Fahd Batayneh, Blog, "Task Force for Arabic Script IDNs", 23 May 2014,
https://community.icann.org/display/MES/Task+Force+on+Arabic+Script+IDNs
workspace:
https://community.icann.org/display/MES/TF-AIDN+Work+Space
[VIP]
Internationalized Domain Names Variant Issues Project, "Arabic Case Study Team Issues Report", 7 October 2011,
http://archive.icann.org/en/topics/new-gtlds/arabic-vip-issues-report-07oct11-en.pdf

For references consulted particularly in designing the repertoire for the Arabic language LGR for the second level, please see details in the Table of References below. Reference [0] refers to Unicode Standard version in which the corresponding code points were initially encoded. References [100] and above correspond to sources justifying the inclusion of the corresponding code points. Entries in the table may have multiple source reference values. References [150] and [160] indicate the source for common rules.

2 Repertoire

Repertoire Summary

Number of elements in repertoire 57
Out-of-repertoire variants 19
Total entries in table 76
Number of code points
for each script
Arabic 65
Thaana 10
Common 11
Multiple tags per code point
Longest code point sequence 1

Repertoire by Code Point

The following table lists the repertoire by code point (or code point sequence). The data in the Script and Name column are extracted from the Unicode character database. Where a comment in the original LGR is equal to the character name, it has been suppressed.

For any code point or sequence for which a variant is defined, additional information is provided in the Variants column. Some code points or sequences listed in the following table are not part of the repertoire itself; they document targets for out-of-repertoire variant mappings as indicated. See also the legend provided below the table.

Code
Point
Glyph Script Name Ref Tags Required Context Part of
Repertoire
Variants Comment
U+002D - Common HYPHEN-MINUS [0] Hyphen not: hyphen-minus-disallowed  
U+0030 0 Common DIGIT ZERO [0] Common-digit not: leading-digit set 1
U+0031 1 Common DIGIT ONE [0] Common-digit not: leading-digit set 2
U+0032 2 Common DIGIT TWO [0] Common-digit not: leading-digit set 3
U+0033 3 Common DIGIT THREE [0] Common-digit not: leading-digit set 4
U+0034 4 Common DIGIT FOUR [0] Common-digit not: leading-digit set 5
U+0035 5 Common DIGIT FIVE [0] Common-digit not: leading-digit set 6
U+0036 6 Common DIGIT SIX [0] Common-digit not: leading-digit set 7
U+0037 7 Common DIGIT SEVEN [0] Common-digit not: leading-digit set 8
U+0038 8 Common DIGIT EIGHT [0] Common-digit not: leading-digit set 9
U+0039 9 Common DIGIT NINE [0] Common-digit not: leading-digit set 10
U+0621 ء Arabic ARABIC LETTER HAMZA [0], [100]       Arabic
U+0622 آ Arabic ARABIC LETTER ALEF WITH MADDA ABOVE [0], [100]     set 11 Arabic
U+0623 أ Arabic ARABIC LETTER ALEF WITH HAMZA ABOVE [0], [100]     set 11 Arabic
U+0624 ؤ Arabic ARABIC LETTER WAW WITH HAMZA ABOVE [0], [100]     set 12 Arabic
U+0625 إ Arabic ARABIC LETTER ALEF WITH HAMZA BELOW [0], [100]     set 11 Arabic
U+0626 ئ Arabic ARABIC LETTER YEH WITH HAMZA ABOVE [0], [100]     set 13 Arabic
U+0627 ا Arabic ARABIC LETTER ALEF [0], [100]     set 11 Arabic
U+0628 ب Arabic ARABIC LETTER BEH [0], [100]       Arabic
U+0629 ة Arabic ARABIC LETTER TEH MARBUTA [0], [100]     set 14 Arabic
U+062A ت Arabic ARABIC LETTER TEH [0], [100]       Arabic
U+062B ث Arabic ARABIC LETTER THEH [0], [100]       Arabic
U+062C ج Arabic ARABIC LETTER JEEM [0], [100]       Arabic
U+062D ح Arabic ARABIC LETTER HAH [0], [100]       Arabic
U+062E خ Arabic ARABIC LETTER KHAH [0], [100]       Arabic
U+062F د Arabic ARABIC LETTER DAL [0], [100]       Arabic
U+0630 ذ Arabic ARABIC LETTER THAL [0], [100]       Arabic
U+0631 ر Arabic ARABIC LETTER REH [0], [100]       Arabic
U+0632 ز Arabic ARABIC LETTER ZAIN [0], [100]       Arabic
U+0633 س Arabic ARABIC LETTER SEEN [0], [100]       Arabic
U+0634 ش Arabic ARABIC LETTER SHEEN [0], [100]       Arabic
U+0635 ص Arabic ARABIC LETTER SAD [0], [100]       Arabic
U+0636 ض Arabic ARABIC LETTER DAD [0], [100]       Arabic
U+0637 ط Arabic ARABIC LETTER TAH [0], [100]       Arabic
U+0638 ظ Arabic ARABIC LETTER ZAH [0], [100]       Arabic
U+0639 ع Arabic ARABIC LETTER AIN [0], [100]       Arabic
U+063A غ Arabic ARABIC LETTER GHAIN [0], [100]       Arabic
U+0641 ف Arabic ARABIC LETTER FEH [0], [100]       Arabic
U+0642 ق Arabic ARABIC LETTER QAF [0], [100]       Arabic
U+0643 ك Arabic ARABIC LETTER KAF [0], [100]     set 15 Arabic
U+0644 ل Arabic ARABIC LETTER LAM [0], [100]       Arabic
U+0645 م Arabic ARABIC LETTER MEEM [0], [100]       Arabic
U+0646 ن Arabic ARABIC LETTER NOON [0], [100]     set 16 Arabic
U+0647 ه Arabic ARABIC LETTER HEH [0], [100]     set 14 Arabic
U+0648 و Arabic ARABIC LETTER WAW [0], [100]     set 12 Arabic
U+0649 ى Arabic ARABIC LETTER ALEF MAKSURA [0], [100]   not: initial-or-medial-position set 13 Arabic
U+064A ي Arabic ARABIC LETTER YEH [0], [100]     set 13 Arabic
U+0660 ٠ Arabic ARABIC-INDIC DIGIT ZERO [0], [100], [201], [401], [600], [700] Arabic-indic-digit, sc:Thaa not: leading-digit set 1
U+0661 ١ Arabic ARABIC-INDIC DIGIT ONE [0], [100], [201], [401], [600], [700] Arabic-indic-digit, sc:Thaa not: leading-digit set 2
U+0662 ٢ Arabic ARABIC-INDIC DIGIT TWO [0], [100], [201], [401], [600], [700] Arabic-indic-digit, sc:Thaa not: leading-digit set 3
U+0663 ٣ Arabic ARABIC-INDIC DIGIT THREE [0], [100], [201], [401], [600], [700] Arabic-indic-digit, sc:Thaa not: leading-digit set 4
U+0664 ٤ Arabic ARABIC-INDIC DIGIT FOUR [0], [100], [201], [401], [600], [700] Arabic-indic-digit, sc:Thaa not: leading-digit set 5
U+0665 ٥ Arabic ARABIC-INDIC DIGIT FIVE [0], [100], [201], [401], [600], [700] Arabic-indic-digit, sc:Thaa not: leading-digit set 6
U+0666 ٦ Arabic ARABIC-INDIC DIGIT SIX [0], [100], [201], [401], [600], [700] Arabic-indic-digit, sc:Thaa not: leading-digit set 7
U+0667 ٧ Arabic ARABIC-INDIC DIGIT SEVEN [0], [100], [201], [401], [600], [700] Arabic-indic-digit, sc:Thaa not: leading-digit set 8
U+0668 ٨ Arabic ARABIC-INDIC DIGIT EIGHT [0], [100], [201], [401], [600], [700] Arabic-indic-digit, sc:Thaa not: leading-digit set 9
U+0669 ٩ Arabic ARABIC-INDIC DIGIT NINE [0], [100], [201], [401], [600], [700] Arabic-indic-digit, sc:Thaa not: leading-digit set 10
U+06A9 ک Arabic ARABIC LETTER KEHEH [0], [108], [109], [112]     set 15 Pashto, Persian, Urdu; Not available for original label
U+06BA ں Arabic ARABIC LETTER NOON GHUNNA [0], [112]     set 16 Urdu; Not available for original label
U+06BE ھ Arabic ARABIC LETTER HEH DOACHASHMEE [0], [112]     set 14 Urdu; Not available for original label
U+06C1 ہ Arabic ARABIC LETTER HEH GOAL [0], [112]     set 14 Urdu; Not available for original label
U+06C3 ۃ Arabic ARABIC LETTER TEH MARBUTA GOAL [0], [126]     set 14 Urdu; Not available for original label
U+06CC ی Arabic ARABIC LETTER FARSI YEH [0], [108], [109], [112]     set 13 Pashto, Persian, Urdu; Not available for original label
U+06CD ۍ Arabic ARABIC LETTER YEH WITH TAIL [0], [108]     set 13 Pashto; Not available for original label
U+06D0 ې Arabic ARABIC LETTER E [0], [108]     set 13 Pashto; Not available for original label
U+06D2 ے Arabic ARABIC LETTER YEH BARREE [0], [112]     set 13 Urdu; Not available for original label
U+06F0 ۰ Arabic EXTENDED ARABIC-INDIC DIGIT ZERO [0], [109] Extended-arabic-indic-digit not: leading-digit set 1  
U+06F1 ۱ Arabic EXTENDED ARABIC-INDIC DIGIT ONE [0], [109] Extended-arabic-indic-digit not: leading-digit set 2  
U+06F2 ۲ Arabic EXTENDED ARABIC-INDIC DIGIT TWO [0], [109] Extended-arabic-indic-digit not: leading-digit set 3  
U+06F3 ۳ Arabic EXTENDED ARABIC-INDIC DIGIT THREE [0], [109] Extended-arabic-indic-digit not: leading-digit set 4  
U+06F4 ۴ Arabic EXTENDED ARABIC-INDIC DIGIT FOUR [0], [109] Extended-arabic-indic-digit not: leading-digit set 5  
U+06F5 ۵ Arabic EXTENDED ARABIC-INDIC DIGIT FIVE [0], [109] Extended-arabic-indic-digit not: leading-digit set 6  
U+06F6 ۶ Arabic EXTENDED ARABIC-INDIC DIGIT SIX [0], [109] Extended-arabic-indic-digit not: leading-digit set 7  
U+06F7 ۷ Arabic EXTENDED ARABIC-INDIC DIGIT SEVEN [0], [109] Extended-arabic-indic-digit not: leading-digit set 8  
U+06F8 ۸ Arabic EXTENDED ARABIC-INDIC DIGIT EIGHT [0], [109] Extended-arabic-indic-digit not: leading-digit set 9  
U+06F9 ۹ Arabic EXTENDED ARABIC-INDIC DIGIT NINE [0], [109] Extended-arabic-indic-digit not: leading-digit set 10  

Legend

Code Point
A code point or code point sequence.
Glyph
The shape displayed depends on the fonts available to your browser.
Script
Shows the script property value from the Unicode Character Database. Combining marks may have the value Inherited and code points used with more than one script may have the value Common.
Name
Shows the character or sequence name from the Unicode Character Database.
Ref
Links to the references associated with the code point or sequence, if any.
Tags
LGR-defined tag values. Any tags matching the Unicode script property are suppressed in this view.
Required Context
Link to a rule defining the required context a code point or sequence must satisfy. If prefixed by “not:” identifies a context that must not occur.
Variants
Link to the variant set the code point or sequence is a member of, except where a coded point or sequence maps only to itself, in which case the type of that mapping is listed.
Comment
The comment as given in the XML file. However, if the comment for this row consists only of the code point or sequence name, it is suppressed in this view. By convention, comments starting with “=” denote an alias. If present, the symbol ⍟ marks a default item shared among a set of LGRs.
✔ - core repertoire
A check mark in the Part-of-repertoire column indicates a code point is part of the core repertoire.
✗ - out-of-repertoire
A code point shown with is not part of the repertoire. It is listed only because it is the target of an out-of-repertoire-var variant mapping.

3 Variant Sets

Variant Set Summary

Number of variant sets 16
Largest variant set 7
Ordinary Variants by Type
activated 20
allocatable 5
blocked 80
optionally-activated 26
optionally-allocatable 9
Reflexive Variants by Type
out-of-repertoire-var 19

The following tables list all variant sets defined in this LGR, except for singleton sets. Each table lists all variant mapping pairs of the set; one per row. Mappings are assumed to be symmetric: each row documents both forward (→) and reverse (←) mapping directions. In each table, the mappings are sorted by Source value in ascending code point order; shading is used to group mappings from the same source code point or sequence.

Where the type of both forward and reverse mappings are the same, a single value is given in the Type column; otherwise the types for forward and reverse mappings, as well as comments and references, are listed above one another. For summary counts, both forward and reverse mappings are always counted separately.

A mapping where source and target are the same is reflexive. Variant sets consisting of only a single reflexive mapping are not shown as a set. Instead, the variant type of the mapping is listed in the Variants column of the Repertoire by Code Point table. Reflexive mappings that are part of a larger set are indicated with a “≡” and are counted once per entry.

In any LGR with variant specifications that are well behaved, all members within each variant set are defined as variants of each other; the mappings in each set are symmetric and transitive; and all variant sets are disjoint.

Common Legend

Source
By convention, the smaller of the two code points in a variant mapping pair.
Target
By convention, the larger of the two code points in a variant mapping pair.
Glyph
The shape displayed for source or target depends on the fonts available to your browser.
- forward
Indicates that Type, Ref and Comment apply to the mapping from source to target.
- reverse
Indicates that Type, Ref and Comment apply to the reverse mapping from target to source.
- both
Indicates that Type, Ref and Comment apply to both forward and reverse mapping.
- reflexive
Indicates that Type, Ref and Comment are for a reflexive mapping where source equals target.
Type
The type of the variant mapping. There are some predefined variant types such as “allocatable” and “blocked”, while others are defined specifically for each LGR. A reflexive variant type “out-of-repertoire-var” designates the target as not part of the repertoire; it is required as target for one or more variant mappings that cross repertoire boundaries.
Ref
One or more reference IDs (optional). A “/” separates references for reverse / forward mappings, if different.
Comment
A descriptive comment (optional). A “/” separates comments for reverse / forward mappings, if different.

Variant Set 1 — 3 Members

Source Glyph Target Glyph   Type Ref Comment
0030 0 0660 ٠ activated   ASCII digit variant / Arabic digit variant
0030 0 06F0 ۰ optionally-activated   Extended digit variant
blocked   ASCII digit variant
0660 ٠ 06F0 ۰ optionally-activated   Extended digit variant
blocked   Arabic digit variant
06F0 ۰ 06F0 ۰ out-of-repertoire-var   Not part of Arabic language repertoire

Variant Set 2 — 3 Members

Source Glyph Target Glyph   Type Ref Comment
0031 1 0661 ١ activated   ASCII digit variant / Arabic digit variant
0031 1 06F1 ۱ optionally-activated   Extended digit variant
blocked   ASCII digit variant
0661 ١ 06F1 ۱ optionally-activated   Extended digit variant
blocked   Arabic digit variant
06F1 ۱ 06F1 ۱ out-of-repertoire-var   Not part of Arabic language repertoire

Variant Set 3 — 3 Members

Source Glyph Target Glyph   Type Ref Comment
0032 2 0662 ٢ activated   ASCII digit variant / Arabic digit variant
0032 2 06F2 ۲ optionally-activated   Extended digit variant
blocked   ASCII digit variant
0662 ٢ 06F2 ۲ optionally-activated   Extended digit variant
blocked   Arabic digit variant
06F2 ۲ 06F2 ۲ out-of-repertoire-var   Not part of Arabic language repertoire

Variant Set 4 — 3 Members

Source Glyph Target Glyph   Type Ref Comment
0033 3 0663 ٣ activated   ASCII digit variant / Arabic digit variant
0033 3 06F3 ۳ optionally-activated   Extended digit variant
blocked   ASCII digit variant
0663 ٣ 06F3 ۳ optionally-activated   Extended digit variant
blocked   Arabic digit variant
06F3 ۳ 06F3 ۳ out-of-repertoire-var   Not part of Arabic language repertoire

Variant Set 5 — 3 Members

Source Glyph Target Glyph   Type Ref Comment
0034 4 0664 ٤ activated   ASCII digit variant / Arabic digit variant
0034 4 06F4 ۴ optionally-activated   Extended digit variant
blocked   ASCII digit variant
0664 ٤ 06F4 ۴ optionally-activated   Extended digit variant
blocked   Arabic digit variant
06F4 ۴ 06F4 ۴ out-of-repertoire-var   Not part of Arabic language repertoire

Variant Set 6 — 3 Members

Source Glyph Target Glyph   Type Ref Comment
0035 5 0665 ٥ activated   ASCII digit variant / Arabic digit variant
0035 5 06F5 ۵ optionally-activated   Extended digit variant
blocked   ASCII digit variant
0665 ٥ 06F5 ۵ optionally-activated   Extended digit variant
blocked   Arabic digit variant
06F5 ۵ 06F5 ۵ out-of-repertoire-var   Not part of Arabic language repertoire

Variant Set 7 — 3 Members

Source Glyph Target Glyph   Type Ref Comment
0036 6 0666 ٦ activated   ASCII digit variant / Arabic digit variant
0036 6 06F6 ۶ optionally-activated   Extended digit variant
blocked   ASCII digit variant
0666 ٦ 06F6 ۶ optionally-activated   Extended digit variant
blocked   Arabic digit variant
06F6 ۶ 06F6 ۶ out-of-repertoire-var   Not part of Arabic language repertoire

Variant Set 8 — 3 Members

Source Glyph Target Glyph   Type Ref Comment
0037 7 0667 ٧ activated   ASCII digit variant / Arabic digit variant
0037 7 06F7 ۷ optionally-activated   Extended digit variant
blocked   ASCII digit variant
0667 ٧ 06F7 ۷ optionally-activated   Extended digit variant
blocked   Arabic digit variant
06F7 ۷ 06F7 ۷ out-of-repertoire-var   Not part of Arabic language repertoire

Variant Set 9 — 3 Members

Source Glyph Target Glyph   Type Ref Comment
0038 8 0668 ٨ activated   ASCII digit variant / Arabic digit variant
0038 8 06F8 ۸ optionally-activated   Extended digit variant
blocked   ASCII digit variant
0668 ٨ 06F8 ۸ optionally-activated   Extended digit variant
blocked   Arabic digit variant
06F8 ۸ 06F8 ۸ out-of-repertoire-var   Not part of Arabic language repertoire

Variant Set 10 — 3 Members

Source Glyph Target Glyph   Type Ref Comment
0039 9 0669 ٩ activated   ASCII digit variant / Arabic digit variant
0039 9 06F9 ۹ optionally-activated   Extended digit variant
blocked   ASCII digit variant
0669 ٩ 06F9 ۹ optionally-activated   Extended digit variant
blocked   Arabic digit variant
06F9 ۹ 06F9 ۹ out-of-repertoire-var   Not part of Arabic language repertoire

Variant Set 11 — 4 Members

Source Glyph Target Glyph   Type Ref Comment
0622 آ 0623 أ optionally-allocatable   Arabic language variant
0622 آ 0625 إ optionally-allocatable   Arabic language variant
0622 آ 0627 ا allocatable   U+0622 (آ) ALEF WITH MADDA ABOVE is simplified to U+0627 (ا) ALEF in the Arabic language
optionally-allocatable   Arabic language variant
0623 أ 0625 إ optionally-allocatable   Arabic language variant
0623 أ 0627 ا allocatable   U+0623 (أ) ALEF WITH HAMZA ABOVE is simplified to U+0627 (ا) ALEF in the Arabic language
optionally-allocatable   Arabic language variant
0625 إ 0627 ا allocatable   U+0625 (إ) ALEF WITH HAMZA BELOW is simplified to U+0627 (ا) ALEF in the Arabic language
optionally-allocatable   Arabic language variant

Variant Set 12 — 2 Members

Source Glyph Target Glyph   Type Ref Comment
0624 ؤ 0648 و allocatable   U+0624 (ؤ) WAV WITH HAMZA ABOVE is simplified to U+0648 (و) WAV in the Arabic language
blocked   Arabic language variant

Variant Set 13 — 7 Members

Source Glyph Target Glyph   Type Ref Comment
0626 ئ 0649 ى blocked   Arabic language variant
0626 ئ 064A ي blocked   Arabic language variant
0626 ئ 06CC ی blocked   Arabic language variant / Cross-repertoire variant
0626 ئ 06CD ۍ blocked   Arabic language variant / Cross-repertoire variant
0626 ئ 06D0 ې blocked   Arabic language variant / Cross-repertoire variant
0626 ئ 06D2 ے blocked   Arabic language variant / Cross-repertoire variant
0649 ى 064A ي blocked   Arabic language variant
0649 ى 06CC ی optionally-activated   The two are visually identical and the same label could be typed using one or the other based on the set language settings and keyboard layout of a user
blocked   Cross-repertoire variant
0649 ى 06CD ۍ blocked   Cross-repertoire variant
0649 ى 06D0 ې blocked   Cross-repertoire variant
0649 ى 06D2 ے blocked   Cross-repertoire variant
064A ي 06CC ی optionally-activated   The two are visually identical and the same label could be typed using one or the other based on the set language settings and keyboard layout of a user
blocked   Cross-repertoire variant
064A ي 06CD ۍ blocked   Cross-repertoire variant
064A ي 06D0 ې blocked   Cross-repertoire variant
064A ي 06D2 ے blocked   Cross-repertoire variant
06CC ی 06CC ی out-of-repertoire-var   Not part of the Arabic language repertoire
06CC ی 06CD ۍ blocked   Cross-repertoire variant / Added for transitivity
06CC ی 06D0 ې blocked   Cross-repertoire variant / Added for transitivity
06CC ی 06D2 ے blocked   Cross-repertoire variant / Added for transitivity
06CD ۍ 06CD ۍ out-of-repertoire-var   Not part of the Arabic language repertoire
06CD ۍ 06D0 ې blocked   Cross-repertoire variant / Added for transitivity
06CD ۍ 06D2 ے blocked   Cross-repertoire variant / Added for transitivity
06D0 ې 06D0 ې out-of-repertoire-var   Not part of the Arabic language repertoire
06D0 ې 06D2 ے blocked   Cross-repertoire variant
06D2 ے 06D2 ے out-of-repertoire-var   Not part of the Arabic language repertoire

Variant Set 14 — 5 Members

Source Glyph Target Glyph   Type Ref Comment
0629 ة 0647 ه allocatable   In the Arabic language, U+0647 (ه) HEH may be substituted for U+0629 (ة) TEH MARBUTA. [RFC 6365]
blocked   Arabic language variant
0629 ة 06BE ھ blocked   Cross-repertoire variant
0629 ة 06C1 ہ blocked   Cross-repertoire variant
0629 ة 06C3 ۃ optionally-activated   The two are visually identical and the same label could be typed using one or the other based on the set language settings and keyboard layout of a user. Labels in the Arabic language using U+0629 (ة) TEH MARBUTA in the final and isolated positions will be typed in other languages using U+06C3 (ۃ) TEH MARBUTA GOAL (Urdu, etc.) which is identical in isolated and has a variant glyph or identical glyph form in final position
blocked   Cross-repertoire variant
0647 ه 06BE ھ optionally-activated   Labels in the Arabic language using U+0647 (ه) HEH in the initial and medial positions will be visually similar in Urdu language to U+06BE (ھ) LETTER HEH DOACHASHMEE
blocked   Cross-repertoire variant
0647 ه 06C1 ہ optionally-activated   Labels in the Arabic language using U+0647 (ه) HEH in the final and isolated positions will be typed in other languages using U+06C1 (ہ) HEH GOAL (Urdu, Pashto, Saraiki, etc.) which is identical in isolated and has a variant glyph or identical glyph form in final position
blocked   Cross-repertoire variant
0647 ه 06C3 ۃ blocked   Cross-repertoire variant
06BE ھ 06BE ھ out-of-repertoire-var   Not part of the Arabic language repertoire
06BE ھ 06C1 ہ blocked   Added for transitivity
06BE ھ 06C3 ۃ blocked   Added for transitivity
06C1 ہ 06C1 ہ out-of-repertoire-var   Not part of the Arabic language repertoire
06C1 ہ 06C3 ۃ blocked   Added for transitivity
06C3 ۃ 06C3 ۃ out-of-repertoire-var   Not part of the Arabic language repertoire

Variant Set 15 — 2 Members

Source Glyph Target Glyph   Type Ref Comment
0643 ك 06A9 ک optionally-activated   The two have identical shapes in initial and medial positions and are used by different language communities to refer to the same letter
blocked   Cross-repertoire variant
06A9 ک 06A9 ک out-of-repertoire-var   Not part of the Arabic language repertoire

Variant Set 16 — 2 Members

Source Glyph Target Glyph   Type Ref Comment
0646 ن 06BA ں blocked   Cross-repertoire variant
06BA ں 06BA ں out-of-repertoire-var   Not part of the Arabic language repertoire

4 Classes, Rules and Actions

4.1 Character Classes

The following table lists all named and implicit classes with their definition and a list of their members intersected with the current repertoire (for larger classes, this list is elided).

Name Definition Count Members or Ranges Ref Comment
right-joining Prop=jt:R 111→14 {0622-0625 0627 0629 062F-0632 0648 06C3 06CD 06D2}   Any character matching Unicode property jt:R
dual-joining Prop=jt:D 424→30 {0626 0628 062A-062E 0633-063A 0641-0647 0649-064A 06A9 06BA 06BE 06C1 06CC 06D0}   Any character matching Unicode property jt:D
joins-to-the-right combined =
[[:right-joining:] ∪ [:dual-joining:]]
535→44 {0622-063A 0641-064A 06A9 06BA 06BE 06C1 06C3 06CC-06CD 06D0 06D2}    
arabic-language explicit 57 {002D 0030-0039 0621-063A 0641-064A 0660-0669}    
urdu-language explicit 63→56 {002D 0030-0039 0621-0622 0626-0628 062A-063A 0641-0642 0644-0646 0648 06A9 06BA 06BE 06C1 06C3 06CC 06D2 06F0-06F9}    
persian-language explicit 56→52 {002D 0030-0039 0621-0622 0626-0628 062A-063A 0641-0642 0644-0648 06A9 06CC 06F0-06F9}    
pashto-language explicit 68→56 {002D 0030-0039 0621-0622 0624 0626-0628 062A-063A 0641-0642 0644-0648 064A 06A9 06CC-06CD 06D2 06F0-06F9}    
common-digits Tag=Common-digit 10 {0030-0039}   Digits from the ASCII range; ⍟
arabic-indic-digits Tag=Arabic-indic-digit 10 {0660-0669}   Arabic-Indic digits; ⍟
extended-arabic-indic-digits Tag=Extended-arabic-indic-digit 10 {06F0-06F9}   Extended Arabic-Indic digits
hyphen Tag=Hyphen 1 {002D}   The Hyphen-minus character ⍟
implicit Tag=sc:Arab 65 {0621-063A 0641-064A 0660-0669 06A9 06BA 06BE 06C1 06C3 06CC-06CD 06D0 06D2 06F0-06F9}   Any character tagged as Arabic
implicit Tag=sc:Thaa 10 {0660-0669}   Any character tagged as Thaana
implicit Tag=sc:Zyyy 11 {002D 0030-0039}   Any character tagged as Common

Legend

Members or Ranges
Lists the members of the class as code points (xxx) or as ranges of code points (xxx-yyy). Any class too numerous to list in full is elided with "...".
m→n
Indicates a set for which only n of its m members fall inside the repertoire.
Tag=ttt
A named or implicit class defined by all code points that share the given tag value (ttt).
Prop=ppp:vvv
A named class defined by reference to value vvv of Unicode property ppp.
Explicit
A named class defined by explicitly listing all its members.
Implicit
An anonymous class implicitly defined based on tag value and for which there is no named equivalent.
Combined
A named class defined by set operations on other classes using the following syntax:
[: :] - named or implicit character set
Reference to a named character set [:name:] or an implicit character set [:tag:]. A leading “^” before name or tag indicates the set complement.
∪, ∩, ∖, ∆ - set operators
Sets may be combined by set operators ( = union, = intersection, = difference, = symmetric difference).

4.2 Whole label evaluation and context rules

The following table lists all named rules defined in the LGR and indicates whether they are used as trigger in an action or as context (when or not-when) for a code point or variant.

Name Regular Expression Used as
Trigger
Anchor Used as
Context
Ref Comment
leading-combining-mark (start)[∅=[[∅=\p{gc=Mn}] ∪ [∅=\p{gc=Mc}]]]     [150] RFC 5891 restrictions on placement of combining marks ⍟
hyphen-minus-disallowed (((start))← ⚓︎)|(⚓︎ →((end)))|(((start)..[:hyphen:])← ⚓︎)   C [150] RFC 5891 restrictions on placement of U+002D (-) ⍟
single-language-label ((start)[:arabic-language:]+(end))|((start)[:persian-language:]+(end))|((start)[:urdu-language:]+(end))|((start)[:pashto-language:]+(end))+       a label/variant can only be written using characters from one of the 4 languages
leading-digit ((start))← ⚓︎   C [160] RFC 5893 RTL labels cannot start with a digit ⍟
digit-mixing ([:common-digits:].*([:arabic-indic-digits:]|[:extended-arabic-indic-digits:]))|([:arabic-indic-digits:].*([:common-digits:]|[:extended-arabic-indic-digits:]))|([:extended-arabic-indic-digits:].*([:common-digits:]|[:arabic-indic-digits:]))     [160] RFC 5892 and RFC 5893 restrictions on mixing digits; extended to all three sets
initial-or-medial-position ⚓︎ →([:joins-to-the-right:])   C   U+0649 (ى) ALEF MAKSURA must not be in initial or medial position

Legend

Used as Trigger
This rule triggers one of the actions listed below.
Used as Context
This rule defines a required or prohibited context for a code point C or variant V.
Anchor
This rule has a placeholder for the code point for which it is evaluated.
Regular Expression
A regular expression equivalent to the rule, shown in a modified notation as noted:
⚓︎ - context anchor
Placeholder for the actual code point when a context is evaluated. The code point must occur at the position corresponding to the anchor. Rules containing an anchor cannot be used as triggers.
(...)← - look-behind
If present encloses required context preceding the anchor.
→(..) - look-ahead
If present encloses required context following the anchor.
(... | ...) - choice
When there is more than one alternative in a rule, the choices are separated by the alternation operator (...|...).
start or end
(start) matches the start of the label; (end) matches the end of the label.
. - any code point
. matches any code point.
*, +, ?, {n,m} - count operators
* indicates 0 or more, + indicates one or more, and ? indicates up to one instance. {n,m} indicates at least n and at most m instances.
[: :] - named or implicit character set
Reference to a named character set [:name:] or an implicit character set [:tag:]. A leading “^” before name or tag indicates the set complement.
[\p{ }] - property character set
Set of all characters matching a given value for a Unicode property [\p{prop=val}]. Note: uppercase “\P” defines the complement of a property set.
∪, ∩, ∖, ∆ - set operators
Sets may be combined by set operators ( = union, = intersection, = difference, = symmetric difference).
∅= - empty set
Indicates that the following set is empty because of the result of set operations, or because none of its elements is part of the repertoire defined here. A rule with a non-optional empty set never matches.
⍟ - default rule
Rules marked with ⍟ are included by default and may or may not be triggered by any possible label under this LGR.

4.3 Actions

The following table lists the actions that are used to assign dispositions to labels and variant labels based on the specified conditions. The order of actions defines their precedence: the first action triggered by a label is the one defining its disposition.

# Condition Rule / Variant Set   Disposition Ref Comment
1 if label does not match single-language-label invalid   all labels (including variants) must be entirely within one of four languages
2 if label matches digit-mixing invalid   a label matching the RFC 5892 and RFC 5893 restriction on digit mixing is invalid
3 if label matches leading-combining-mark invalid   RFC 5892: labels with leading combining marks are invalid ⍟
4 if at least one variant is in {out-of-repertoire-var} invalid   disallow code points that are out of repertoire
5 if at least one variant is in {blocked} blocked   any variant label containing blocked variants is blocked ⍟
6 if at least one variant is in {optionally-allocatable} blocked   optional allocation for certain within-repertoire variants; to make allocation possible, change (blocked) to (allocatable)
7 if at least one variant is in {optionally-activated} allocatable   optional delegation for certain cross-repertoire variants; to make delegation mandatory, change (allocatable) to (activated)
8 if at least one variant is in {activated} activated   forced delegation for certain in-repertoire variants
9 if each variant is in {allocatable} allocatable   variant labels with all variants allocatable are allocatable
10 if any label (catch-all)   valid   catch all (default action)

Legend

{...} - variant type set
In the “Rule/Variant Set” column, the notation {...} means a set of variant types.
⍟ - default action
Actions marked with ⍟ are included by default and may or may not be triggered by any possible label under this LGR.

5 Table of References

The following lists the references cited for specific code points, variants, classes, rules or actions in this LGR. For General references refer to the "References" section in the Description.

[0] The Unicode Consortium. The Unicode Standard, Version 1.0, Volume 1 Reading, MA, Addison-Wesley Developers Press, 1991. ISBN 0-201-56788-1 and The Unicode Standard, Version 1.0, Volume 2 Reading, MA, Addison-Wesley Developers Press, 1992. ISBN 0-201-60845-6, as amended by Davis, Mark, Unicode Technical Report #4: The Unicode Standard, Version 1.1 Cupertino, CA, The Unicode Consortium, 1993
Any code point cited was originally encoded in Unicode Version 1.1
[100] RFC 5564 Linguistic Guidelines for the Use of the Arabic Language in Internet Domains
https://tools.ietf.org/html/rfc5564
[108] Omniglot Pashto
http://omniglot.com/writing/pashto.htm
[109] Omniglot Persian(Farsi)
http://omniglot.com/writing/persian.htm
[112] Omniglot Urdu
http://omniglot.com/writing/urdu.htm
[126] Urdu, Teh marbuta goal, Code point UZT 76 of Urdu Zabta Takhti 1.01, the official code page standard for Govt. of Pakistan, approved in 2001; see
http://cle.org.pk/Publication/papers/2001/uzt1.01.pdf
[150] RFC 5891, Internationalized Domain Names in Applications (IDNA): Protocol
http://tools.ietf.org/html/rfc5891
[160] RFC 5893, Right-to-Left Scripts for Internationalized Domain Names for Applications (IDNA)
http://tools.ietf.org/html/rfc5893
[201] Omniglot Arabic
https://www.omniglot.com/writing/arabic.htm
[401] The Unicode Consortium, Common Locale Data Repository.- CLDR Version 28 (2015-09-16)- Locale Data Summary for Arabic (ar)-
http://www.unicode.org/cldr/charts/28/summary/ar.html
Code points cited are from the set of Main Letters
[600] Wikipedia Arabic alphabet
https://en.wikipedia.org/wiki/Arabic_alphabet
accessed 2015-10-31
Code points cited are from the set of Basic letters
[700] Saudi Network Information Center (.sa, Saudi Arabia ccTLD)
http://www.iana.org/domains/idn-tables/tables/sa_ar_2.0.pdf