Serbian (Cyrillic)

Serbian (Cyrillic)

Second-Level Reference Label Generation Rules, 25 October 2024 Current

Summary

Version3 — Second Level Reference LGR
Date
Tag sr-Cyrl (Serbian)
Unicode11.0.0
Source filelgr-second-level-serbian-cyrillic-language-25oct24-en.xml (20.0kb)

This ruleset is integrated into the Common (integrated set) ruleset of this release.

Description

INSTRUCTIONS

  • These instructions cover how to adopt an LGR based on this reference LGR for a given zone and how to prepare the file for deposit in the IANA Repository of IDN Practices.
  • As described the IANA procedure (https://www.iana.org/help/idn-repository-procedure) an LGR MUST contain the following elements in its header:
    • Script or Language Designator (see below for guidance)
    • Version Number (this must increase with each amendment to the LGR, even if the updates are limited to the header itself)
    • Effective Date (the date at which the policy becomes applicable in operational use)
    • Registry Contact Details (contact name, email address, and/or phone number)
  • The following information is optional:
    • Document creation date
    • Applicable Domain(s)
    • Changes made to the Reference LGR before adopting

Please add or modify the following items in the XML source code for this file before depositing the document in the IANA Repository. (https://www.iana.org/domains/idn-tables)

Meta Data

Note: version numbers start at 1. RFC 7940 recommends using simple integers. The version comment is optional, please replace or delete the default comment. Version comments may be used by some tools as part of the page header.

<version comment="[Please replace (or delete) the optional comment]">[Please fill in version number, starting at 1]</version>

<date>[Please fill in with publication date, in YYYY-MM-DD format]</date>

<validity-start>[Please fill in effective date, in YYYY-MM-DD format]</validity-start>

Note: the scope element may be repeated, so that the same document can serve for multiple domains.

<scope type="domain">[Please provide, in ".domain" format]</scope>

Registry Contact Information:

Please fill in the Registry Contact Details.

Change History

If you made technical modifications to the LGR, please summarize them in the Change History (and also note the details in the appropriate section of the description).

PLEASE DELETE THESE INSTRUCTIONS BEFORE DEPOSITING THE DOCUMENT

Read the rest of the description Show less

Registry Contact Details

  • Contact Name: [Please fill in Contact Name]
  • Email address: [Please fill in Email address]
  • Phone Number: [Please fill in optional Phone Number]

Label Generation Rules for Serbian

Overview

This document specifies a reference set of Label Generation Rules for Serbian using a language-specific repertoire appropriate for the second level domain or domains identified above. The format of this file follows [RFC 7940]. This LGR is adapted from the “Reference LGR for the Second Level for the Serbian Language” [Ref-LGR-sr-Cyrl], for details, see Change History below.

Standalone LGR: This LGR is designed to be used in a zone that does not cater to IDNs other than those valid under this LGR. This LGR lacks features that would allow its use in the context of another LGR in the same zone, and it may contain other features incompatible with such use.

Repertoire

All references converge on 30 Cyrillic code points (23 + 7 as defined by RFC 5992 [130]).

There is an IDN table published in the IANA Repository of IDN Practices for Serbian by .rs (Serbia cctld) in [700].There is another new Cyrillic TLD created in Serbia: .срб, it uses the same repertoire as .rs.

The CLDR auxiliary set includes all code points to support Russian, but this is not supported by other sources, even for an extended set. In addition, there is some use of 6 vowels with double grave and inverted breve in Serbian phonology and poetics, but this is not germane to IDNs.

Excluded code points

Letters documented in some references but not included:

  • U+0449 CYRILLIC SMALL LETTER SHCHA

  • U+044A CYRILLIC SMALL LETTER HARD SIGN

  • U+044B CYRILLIC SMALL LETTER YERU

  • U+044C CYRILLIC SMALL LETTER SOFT SIGN

  • U+044D CYRILLIC SMALL LETTER E

  • U+044E CYRILLIC SMALL LETTER YU

  • U+044F CYRILLIC SMALL LETTER YA

  • U+0451 CYRILLIC SMALL LETTER IO

  • U+0430 030F CYRILLIC SMALL LETTER A WITH DOUBLE GRAVE ACCENT

  • U+0430 0311 CYRILLIC SMALL LETTER A WITH INVERTED BREVE

  • U+0435 030F CYRILLIC SMALL LETTER IE WITH DOUBLE GRAVE ACCENT

  • U+0435 0311 CYRILLIC SMALL LETTER IE WITH INVERTED BREVE

  • U+0438 030F CYRILLIC SMALL LETTER I WITH DOUBLE GRAVE ACCENT

  • U+0438 0311 CYRILLIC SMALL LETTER I WITH INVERTED BREVE

  • U+043E 030F CYRILLIC SMALL LETTER O WITH DOUBLE GRAVE ACCENT

  • U+043E 0311 CYRILLIC SMALL LETTER O WITH INVERTED BREVE

  • U+0440 030F CYRILLIC SMALL LETTER ER WITH DOUBLE GRAVE ACCENT

  • U+0440 0311 CYRILLIC SMALL LETTER ER WITH INVERTED BREVE

  • U+0443 030F CYRILLIC SMALL LETTER U WITH DOUBLE GRAVE ACCENT

  • U+0443 0311 CYRILLIC SMALL LETTER U WITH INVERTED BREVE

Extended code points

None.

Any code points outside the Serbian Language repertoire that are targets for out-of-repertoire variants would be included here only if the variant is listed in this file. In this case they are identified as a reflexive (identity) variant of type “out-of-repertoire-var”. Whether or not they are listed, they do not form part of the repertoire.

Variants

There are no variants defined between Cyrillic letters.

No ASCII Variants: Note that this LGR does not contain definitions for “blocked” variants for letters that look indistinguishable from ASCII letters (homoglyphs). If concurrent use of LDH labels is desired, the resulting conflicts can be handled by using the “Common LGR” in processing. For details, see Section 3, “Use of Multiple Reference LGRs in the Same Zone” in [Level-2-Overview].

Character Classes

This LGR does not define named character classes.

Rules

Common Rules

By default, the LGR includes the rules and actions to implement the following restrictions mandated by the IDNA protocol. They are marked with ⍟.

  • Hyphen Restrictions — restrictions on the allowable placement of hyphens (no leading/ending hyphen and no hyphen in positions 3 and 4). These restrictions are described in Section 4.2.3.1 of RFC 5891 [150]. They are implemented here as context rule on U+002D (-) HYPHEN-MINUS.
  • Leading Combining Marks — restrictions on the allowable placement of combining marks (no leading combining mark). This rule is described in Section 4.2.3.2 of RFC 5891 [150].

Actions

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

Variant-related actions included to facilitate integration as appropriate.

Methodology and Contributors

The LGR in this document has been adapted from the corresponding Reference LGR for the Second Level. The Second Level Reference LGR for the Serbian Language was developed by Michel Suignard and Asmus Freytag, including input by Michael Everson, Nicholas Ostler, and Wil Tan, and based on multiple open public consultations.

Changes from Version Dated 10 October 2016

Language tag has been updated.

Changes from Version Dated 18 May 2021

Unicode Version has been updated.

Changes from Version Dated 25 October 2024

Adopted from the Second Level Reference LGR for the Serbian Language [Ref-LGR-sr-Cyrl] without normative changes.

References

General reference for the language:

  • Browne, Wayles. 1993. “Serbo-Croat”, in Bernard Comrie & Greville G. Corbett, eds. The Slavonic languages. London; New York: Routledge. ISBN 0-415-04755-2

Other references cited in this document:

[Level-2-Overview]
Internet Corporation for Assigned Names and Numbers, (ICANN),“Reference Label Generation Rules (LGR) for the Second Level: Overview and Summary” (PDF), (Los Angeles, California: ICANN, 25 October 2024), https://www.icann.org/en/system/files/files/level2-lgr-overview-summary-25oct24-en.pdf
[Ref-LGR-sr-Cyrl]
ICANN, Second Level Reference Label Generation Rules for the Serbian Language (sr-Cyrl), 25 October 2024 (XML) https://www.icann.org/sites/default/files/packages/lgr/lgr-second-level-serbian-cyrillic-language-25oct24-en.xml non-normative HTML presentation: https://www.icann.org/sites/default/files/packages/lgr/lgr-second-level-serbian-cyrillic-language-25oct24-en.html
[RFC 7940]
Davies, K. and A. Freytag, “Representing Label Generation Rulesets Using XML”, RFC 7940, August 2016, https://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
[Unicode 11.0.0]
The Unicode Consortium. The Unicode Standard, Version 11.0.0, (Mountain View, CA: The Unicode Consortium, 2018. ISBN 978-1-936213-19-1) https://www.unicode.org/versions/Unicode11.0.0/

In the listing of the repertoire by code point, references starting from [0] refer to the version of the Unicode Standard in which the corresponding code point was initially encoded. Other references (starting from [100]) document usage of code points. Entries in the table may have multiple source reference values. In the listing of whole label evaluation and context rules, reference [150] indicates the source for common rules. For more details, see the Table of References below.

Repertoire

Glyph Code point Tags and context Variants
- U+002D HYPHEN-MINUS 0 HYPHEN-MINUS Tagsc:Zyyy Contextnot hyphen-minus-disallowed
0 U+0030 DIGIT ZERO 0 DIGIT ZERO; TagCommon-digitTagsc:Zyyy
1 U+0031 DIGIT ONE 0 DIGIT ONE; TagCommon-digitTagsc:Zyyy
2 U+0032 DIGIT TWO 0 DIGIT TWO; TagCommon-digitTagsc:Zyyy
3 U+0033 DIGIT THREE 0 DIGIT THREE; TagCommon-digitTagsc:Zyyy
4 U+0034 DIGIT FOUR 0 DIGIT FOUR; TagCommon-digitTagsc:Zyyy
5 U+0035 DIGIT FIVE 0 DIGIT FIVE; TagCommon-digitTagsc:Zyyy
6 U+0036 DIGIT SIX 0 DIGIT SIX; TagCommon-digitTagsc:Zyyy
7 U+0037 DIGIT SEVEN 0 DIGIT SEVEN; TagCommon-digitTagsc:Zyyy
8 U+0038 DIGIT EIGHT 0 DIGIT EIGHT; TagCommon-digitTagsc:Zyyy
9 U+0039 DIGIT NINE 0 DIGIT NINE; TagCommon-digitTagsc:Zyyy
а U+0430 CYRILLIC SMALL LETTER A 0 100 130 201 301 401 700 CYRILLIC SMALL LETTER A Tagsc:Cyrl
б U+0431 CYRILLIC SMALL LETTER BE 0 100 130 201 301 401 700 CYRILLIC SMALL LETTER BE Tagsc:Cyrl
в U+0432 CYRILLIC SMALL LETTER VE 0 100 130 201 301 401 700 CYRILLIC SMALL LETTER VE Tagsc:Cyrl
г U+0433 CYRILLIC SMALL LETTER GHE 0 100 130 201 301 401 700 CYRILLIC SMALL LETTER GHE Tagsc:Cyrl
д U+0434 CYRILLIC SMALL LETTER DE 0 100 130 201 301 401 700 CYRILLIC SMALL LETTER DE Tagsc:Cyrl
е U+0435 CYRILLIC SMALL LETTER IE 0 100 130 201 301 401 700 CYRILLIC SMALL LETTER IE Tagsc:Cyrl
ж U+0436 CYRILLIC SMALL LETTER ZHE 0 100 130 201 301 401 700 CYRILLIC SMALL LETTER ZHE Tagsc:Cyrl
з U+0437 CYRILLIC SMALL LETTER ZE 0 100 130 201 301 401 700 CYRILLIC SMALL LETTER ZE Tagsc:Cyrl
и U+0438 CYRILLIC SMALL LETTER I 0 100 130 201 301 401 700 CYRILLIC SMALL LETTER I Tagsc:Cyrl
к U+043A CYRILLIC SMALL LETTER KA 0 100 130 201 301 401 700 CYRILLIC SMALL LETTER KA Tagsc:Cyrl
л U+043B CYRILLIC SMALL LETTER EL 0 100 130 201 301 401 700 CYRILLIC SMALL LETTER EL Tagsc:Cyrl
м U+043C CYRILLIC SMALL LETTER EM 0 100 130 201 301 401 700 CYRILLIC SMALL LETTER EM Tagsc:Cyrl
н U+043D CYRILLIC SMALL LETTER EN 0 100 130 201 301 401 700 CYRILLIC SMALL LETTER EN Tagsc:Cyrl
о U+043E CYRILLIC SMALL LETTER O 0 100 130 201 301 401 700 CYRILLIC SMALL LETTER O Tagsc:Cyrl
п U+043F CYRILLIC SMALL LETTER PE 0 100 130 201 301 401 700 CYRILLIC SMALL LETTER PE Tagsc:Cyrl
р U+0440 CYRILLIC SMALL LETTER ER 0 100 130 201 301 401 700 CYRILLIC SMALL LETTER ER Tagsc:Cyrl
с U+0441 CYRILLIC SMALL LETTER ES 0 100 130 201 301 401 700 CYRILLIC SMALL LETTER ES Tagsc:Cyrl
т U+0442 CYRILLIC SMALL LETTER TE 0 100 130 201 301 401 700 CYRILLIC SMALL LETTER TE Tagsc:Cyrl
у U+0443 CYRILLIC SMALL LETTER U 0 100 130 201 301 401 700 CYRILLIC SMALL LETTER U Tagsc:Cyrl
ф U+0444 CYRILLIC SMALL LETTER EF 0 100 130 201 301 401 700 CYRILLIC SMALL LETTER EF Tagsc:Cyrl
х U+0445 CYRILLIC SMALL LETTER HA 0 100 130 201 301 401 700 CYRILLIC SMALL LETTER HA Tagsc:Cyrl
ц U+0446 CYRILLIC SMALL LETTER TSE 0 100 130 201 301 401 700 CYRILLIC SMALL LETTER TSE Tagsc:Cyrl
ч U+0447 CYRILLIC SMALL LETTER CHE 0 100 130 201 301 401 700 CYRILLIC SMALL LETTER CHE Tagsc:Cyrl
ш U+0448 CYRILLIC SMALL LETTER SHA 0 100 130 201 301 401 700 CYRILLIC SMALL LETTER SHA Tagsc:Cyrl
ђ U+0452 CYRILLIC SMALL LETTER DJE 0 100 130 201 301 401 700 CYRILLIC SMALL LETTER DJE Tagsc:Cyrl
ј U+0458 CYRILLIC SMALL LETTER JE 0 100 130 201 301 401 700 CYRILLIC SMALL LETTER JE Tagsc:Cyrl
љ U+0459 CYRILLIC SMALL LETTER LJE 0 100 130 201 301 401 700 CYRILLIC SMALL LETTER LJE Tagsc:Cyrl
њ U+045A CYRILLIC SMALL LETTER NJE 0 100 130 201 301 401 700 CYRILLIC SMALL LETTER NJE Tagsc:Cyrl
ћ U+045B CYRILLIC SMALL LETTER TSHE 0 100 130 201 301 401 700 CYRILLIC SMALL LETTER TSHE Tagsc:Cyrl
џ U+045F CYRILLIC SMALL LETTER DZHE 0 100 130 201 301 401 700 CYRILLIC SMALL LETTER DZHE Tagsc:Cyrl

Rules

Conditions evaluated against a whole label, or against the context around a single code point. The notation borrows from regular expressions: ^ and $ anchor to the start and end of a label, . matches any code point, (?= ) and (?<= ) look ahead and behind, and * and + repeat. Two symbols are specific to rulesets: ◆ is the code point being tested, and ⟨name⟩ refers to another rule.

leading-combining-mark MSR default 150

RFC 5891 restrictions on placement of combining marks

^ ({gc:Mn} ∪ {gc:Mc})
Structure
  • ^ start
  • ({gc:Mn} ∪ {gc:Mc}) union
    • {gc:Mn} class
    • {gc:Mc} class
Referenced by 1 definition
  • action 1 (invalid)

hyphen-minus-disallowed MSR default 150

RFC 5891 restrictions on placement of U+002D HYPHEN-MINUS

( ( (?<= ^ ) ◆ ) │ ( ◆ (?= $ ) ) │ ( (?<= ^ . . U+002D ) ◆ ) )
Structure
  • ( ( (?<= ^ ) ◆ ) │ ( ◆ (?= $ ) ) │ ( (?<= ^ . . U+002D ) ◆ ) ) choice
    • (?<= ^ ) ◆ rule no leading hyphen
      • (?<= ^ ) look-behind
        • ^ start
      • ◆ anchor
    • ◆ (?= $ ) rule no trailing hyphen
      • ◆ anchor
      • (?= $ ) look-ahead
        • $ end
    • (?<= ^ . . U+002D ) ◆ rule no consecutive hyphens in third and fourth
      • (?<= ^ . . U+002D ) look-behind
        • ^ start
        • . any
        • . any
        • U+002D char hyphen-minus
      • ◆ anchor
Referenced by 1 definition
  • negative context of U+002D

extended-cp MSR default

context to gate off code points from the extended range, matches no label

^ $

Actions

Actions are evaluated in the order shown. The first action whose conditions match determines the disposition of the label.

Actions in precedence order
# Disposition Conditions
1 invalid label matches leading-combining-mark by default, labels with leading combining marks are invalid
2 invalid any variant is out-of-repertoire-var any variant label with a code point out of repertoire is invalid MSR default
3 blocked any variant is blocked any variant label containing blocked variants is blocked MSR default
4 valid any label default catch all (default action)

References

RefSource
0 The Unicode Standard, Version 1.1
Any code point cited was originally encoded in Unicode Version 1.1
100 Internetstiftelsen i Sverige (IIS), Serbian https://github.com/dotse/IDN-ref-tables/blob/master/language-tables/serbian-lang-ref-table.txt accessed on 2016-10-16
150 RFC 5891, Internationalized Domain Names in Applications (IDNA): Protocol https://tools.ietf.org/html/rfc5891
130 RFC 5992, Internationalized Domain Names Registration and Administration Guidelines for European Languages Using Cyrillic - section 2.8 Serbian https://tools.ietf.org/html/rfc5992
201 Omniglot Serbian https://www.omniglot.com/writing/serbian.htm
301 Everson, Michael, The Alphabets of Europe, Serbian https://www.evertype.com/alphabets/serbian.pdf
Code points cited form the standard set
304 Everson, Michael, The Alphabets of Europe, Serbian https://www.evertype.com/alphabets/serbian.pdf
Code points cited are rare or archaic
401 The Unicode Consortium, Common Locale Data Repository - CLDR Version 28 (2015-09-16) - Locale Data Summary for Serbian [sr]- https://www.unicode.org/cldr/charts/28/summary/sr.html
Code points cited are from the set of Main Letters
402 The Unicode Consortium, Common Locale Data Repository - CLDR Version 28 (2015-09-16) - Locale Data Summary for Serbian [sr]- https://www.unicode.org/cldr/charts/28/summary/sr.html
Code points cited are from the set of Auxiliary Letters
700 Serbian National Internet Domain Registry (RNIDS .срб Serbian cctld), https://www.iana.org/domains/idn-tables/tables/xn--90a3ac_sr-cyrl_1.3.txt