Norwegian (language)
Second-Level Reference Label Generation Rules, 25 October 2024 Current
Summary
| Version | 3 — Second Level Reference LGR |
|---|---|
| Date | |
| Tag |
no (Norwegian)
|
| Unicode | 11.0.0 |
| Source file | lgr-second-level-norwegian-language-25oct24-en.xml (24.8kb) |
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 Norwegian
Overview
This document specifies a set of Label Generation Rules (LGR) for the Norwegian language using a language-specific repertoire 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 Norwegian Language” [Ref-LGR-no-Latn], 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
Most references converge on 43 (36 + 7) Latin code points with a few additional extensions.
There is no IDN table published in the IANA Repository of IDN Practices by a .no ccTLD, but the registry provides IDN information [700].
Norwegian is not a single language. Instead, there are two closely related but different written languages (Bokmål and Nynorsk). As both of them are written in the same country and the differences are relatively minor for purposes of IDNs, this LGR covers both, by extending the repertoire slightly.
Excluded code points
Letters documented in some references but not included:
U+00E2 LATIN SMALL LETTER A WITH CIRCUMFLEX
U+00EF LATIN SMALL LETTER I WITH DIAERESIS
U+00F9 LATIN SMALL LETTER U WITH GRAVE
U+00FB LATIN SMALL LETTER U WITH CIRCUMFLEX
U+01CE LATIN SMALL LETTER A WITH CARON
Extended code points
A number of letters not considered essential to writing the core vocabulary of the language are nevertheless in common use. Where they have not been added to the core repertoire, they are flagged as “extended-cp” in the table of code points. A context rule is provided that by default will prohibit labels with such extended code points. To support extended single code points or code point sequences, delete the context “extended-cp” from their repertoire definition.
The following extended code points in particular are needed to write Northern Sami, a minority language in Norway.
U+010D LATIN SMALL LETTER C WITH CARON
U+0111 LATIN SMALL LETTER D WITH STROKE
U+0144 LATIN SMALL LETTER N WITH ACUTE ACCENT (alternate for N with tilde in Lule Sami)
U+014B LATIN SMALL LETTER ENG
U+0161 LATIN SMALL LETTER S WITH CARON
U+0167 LATIN SMALL LETTER T WITH STROKE
U+017E LATIN SMALL LETTER Z WITH CARON
Variants
No variants are applicable when using the LGR in a standalone fashion.
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].
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 Norwegian 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 Norwegian Language [Ref-LGR-no-Latn] without normative changes.
References
General references for the language:
Norsk språkråd, in Icelandic Council for Standardization. 1992. Nordic cultural requirements on information technology. Reykjavík: Staðlaráð Íslands. ISBN 9979-9004-3-1
Hovdenak, Marit, et al. 1994. Nynorskordboka: definisjons- og rettskrivings- ordbok. Oslo: Det norske samlaget. ISBN 82-521-4121-8- The repertoire covers Bokmål and Nynorsk
Wikipedia: “Norwegian orthography”, https://en.wikipedia.org/wiki/Norwegian_alphabet
Omniglot: “Norwegian (norsk)” https://www.omniglot.com/writing/norwegian.htm
Other references cited in this document:
- [RFC 7940]
- Davies, K. and A. Freytag, “Representing Label Generation Rulesets Using XML”, RFC 7940, August 2016, https://www.rfc-editor.org/info/rfc7940
- [Ref-LGR-no-Latn]
- ICANN, Second Level Reference Label Generation Rules for the Norwegian Language (no-Latn), 25 October 2024 (XML) https://www.icann.org/sites/default/files/packages/lgr/lgr-second-level-norwegian-language-25oct24-en.xml non-normative HTML presentation: https://www.icann.org/sites/default/files/packages/lgr/lgr-second-level-norwegian-language-25oct24-en.html
- [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 100 301 401 501 601 HYPHEN-MINUS |
|
|
| 0 | U+0030 DIGIT ZERO 0 100 301 401 501 601 DIGIT ZERO; |
|
|
| 1 | U+0031 DIGIT ONE 0 100 301 401 501 601 DIGIT ONE; |
|
|
| 2 | U+0032 DIGIT TWO 0 100 301 401 501 601 DIGIT TWO; |
|
|
| 3 | U+0033 DIGIT THREE 0 100 301 401 501 601 DIGIT THREE; |
|
|
| 4 | U+0034 DIGIT FOUR 0 100 301 401 501 601 DIGIT FOUR; |
|
|
| 5 | U+0035 DIGIT FIVE 0 100 301 401 501 601 DIGIT FIVE; |
|
|
| 6 | U+0036 DIGIT SIX 0 100 301 401 501 601 DIGIT SIX; |
|
|
| 7 | U+0037 DIGIT SEVEN 0 100 301 401 501 601 DIGIT SEVEN; |
|
|
| 8 | U+0038 DIGIT EIGHT 0 100 301 401 501 601 DIGIT EIGHT; |
|
|
| 9 | U+0039 DIGIT NINE 0 100 301 401 501 601 DIGIT NINE; |
|
|
| a | U+0061 LATIN SMALL LETTER A 0 100 301 401 501 601 LATIN SMALL LETTER A |
|
|
| b | U+0062 LATIN SMALL LETTER B 0 100 301 401 501 601 LATIN SMALL LETTER B |
|
|
| c | U+0063 LATIN SMALL LETTER C 0 100 301 401 501 601 LATIN SMALL LETTER C |
|
|
| d | U+0064 LATIN SMALL LETTER D 0 100 301 401 501 601 LATIN SMALL LETTER D |
|
|
| e | U+0065 LATIN SMALL LETTER E 0 100 301 401 501 601 LATIN SMALL LETTER E |
|
|
| f | U+0066 LATIN SMALL LETTER F 0 100 301 401 501 601 LATIN SMALL LETTER F |
|
|
| g | U+0067 LATIN SMALL LETTER G 0 100 301 401 501 601 LATIN SMALL LETTER G |
|
|
| h | U+0068 LATIN SMALL LETTER H 0 100 301 401 501 601 LATIN SMALL LETTER H |
|
|
| i | U+0069 LATIN SMALL LETTER I 0 100 301 401 501 601 LATIN SMALL LETTER I |
|
|
| j | U+006A LATIN SMALL LETTER J 0 100 301 401 501 601 LATIN SMALL LETTER J |
|
|
| k | U+006B LATIN SMALL LETTER K 0 100 301 401 501 601 LATIN SMALL LETTER K |
|
|
| l | U+006C LATIN SMALL LETTER L 0 100 301 401 501 601 LATIN SMALL LETTER L |
|
|
| m | U+006D LATIN SMALL LETTER M 0 100 301 401 501 601 LATIN SMALL LETTER M |
|
|
| n | U+006E LATIN SMALL LETTER N 0 100 301 401 501 601 LATIN SMALL LETTER N |
|
|
| o | U+006F LATIN SMALL LETTER O 0 100 301 401 501 601 LATIN SMALL LETTER O |
|
|
| p | U+0070 LATIN SMALL LETTER P 0 100 301 401 501 601 LATIN SMALL LETTER P |
|
|
| q | U+0071 LATIN SMALL LETTER Q 0 100 301 401 501 601 LATIN SMALL LETTER Q |
|
|
| r | U+0072 LATIN SMALL LETTER R 0 100 301 401 501 601 LATIN SMALL LETTER R |
|
|
| s | U+0073 LATIN SMALL LETTER S 0 100 301 401 501 601 LATIN SMALL LETTER S |
|
|
| t | U+0074 LATIN SMALL LETTER T 0 100 301 401 501 601 LATIN SMALL LETTER T |
|
|
| u | U+0075 LATIN SMALL LETTER U 0 100 301 401 501 601 LATIN SMALL LETTER U |
|
|
| v | U+0076 LATIN SMALL LETTER V 0 100 301 401 501 601 LATIN SMALL LETTER V |
|
|
| w | U+0077 LATIN SMALL LETTER W 0 100 301 401 501 601 LATIN SMALL LETTER W |
|
|
| x | U+0078 LATIN SMALL LETTER X 0 100 301 401 501 601 LATIN SMALL LETTER X |
|
|
| y | U+0079 LATIN SMALL LETTER Y 0 100 301 401 501 601 LATIN SMALL LETTER Y |
|
|
| z | U+007A LATIN SMALL LETTER Z 0 100 301 401 501 601 LATIN SMALL LETTER Z |
|
|
| à | U+00E0 LATIN SMALL LETTER A WITH GRAVE 0 100 301 401 501 604 605 700 701 LATIN SMALL LETTER A WITH GRAVE |
|
|
| á | U+00E1 LATIN SMALL LETTER A WITH ACUTE 0 100 302 402 503 604 605 700 701 LATIN SMALL LETTER A WITH ACUTE |
|
|
| ã | U+00E3 LATIN SMALL LETTER A WITH TILDE 0 403 503 701 LATIN SMALL LETTER A WITH TILDE |
|
|
| ä | U+00E4 LATIN SMALL LETTER A WITH DIAERESIS 0 302 402 700 701 LATIN SMALL LETTER A WITH DIAERESIS |
|
|
| å | U+00E5 LATIN SMALL LETTER A WITH RING ABOVE 0 100 200 301 501 603 604 700 LATIN SMALL LETTER A WITH RING ABOVE |
|
|
| æ | U+00E6 LATIN SMALL LETTER AE 0 100 200 301 401 501 603 604 700 LATIN SMALL LETTER AE |
|
|
| ç | U+00E7 LATIN SMALL LETTER C WITH CEDILLA 0 302 402 503 700 701 LATIN SMALL LETTER C WITH CEDILLA |
|
|
| è | U+00E8 LATIN SMALL LETTER E WITH GRAVE 0 100 302 402 503 604 605 700 701 LATIN SMALL LETTER E WITH GRAVE |
|
|
| é | U+00E9 LATIN SMALL LETTER E WITH ACUTE 0 100 200 301 401 501 604 605 700 701 LATIN SMALL LETTER E WITH ACUTE |
|
|
| ê | U+00EA LATIN SMALL LETTER E WITH CIRCUMFLEX 0 100 301 402 501 604 605 700 701 LATIN SMALL LETTER E WITH CIRCUMFLEX |
|
|
| ë | U+00EB LATIN SMALL LETTER E WITH DIAERESIS 0 302 503 701 LATIN SMALL LETTER E WITH DIAERESIS |
|
|
| í | U+00ED LATIN SMALL LETTER I WITH ACUTE 0 403 604 701 LATIN SMALL LETTER I WITH ACUTE |
|
|
| ñ | U+00F1 LATIN SMALL LETTER N WITH TILDE 0 402 700 701 LATIN SMALL LETTER N WITH TILDE |
|
|
| ò | U+00F2 LATIN SMALL LETTER O WITH GRAVE 0 100 301 401 501 604 605 700 LATIN SMALL LETTER O WITH GRAVE |
|
|
| ó | U+00F3 LATIN SMALL LETTER O WITH ACUTE 0 100 200 301 401 501 604 605 700 LATIN SMALL LETTER O WITH ACUTE |
|
|
| ô | U+00F4 LATIN SMALL LETTER O WITH CIRCUMFLEX 0 100 200 301 401 501 604 605 700 LATIN SMALL LETTER O WITH CIRCUMFLEX |
|
|
| ö | U+00F6 LATIN SMALL LETTER O WITH DIAERESIS 0 302 402 503 700 LATIN SMALL LETTER O WITH DIAERESIS |
|
|
| ø | U+00F8 LATIN SMALL LETTER O WITH STROKE 0 100 200 301 401 501 603 604 700 LATIN SMALL LETTER O WITH STROKE |
|
|
| ú | U+00FA LATIN SMALL LETTER U WITH ACUTE 0 403 604 LATIN SMALL LETTER U WITH ACUTE |
|
|
| ü | U+00FC LATIN SMALL LETTER U WITH DIAERESIS 0 100 302 402 503 604 605 700 LATIN SMALL LETTER U WITH DIAERESIS |
|
|
| č | U+010D LATIN SMALL LETTER C WITH CARON 0 402 700 702 LATIN SMALL LETTER C WITH CARON |
|
|
| đ | U+0111 LATIN SMALL LETTER D WITH STROKE 0 402 700 702 LATIN SMALL LETTER D WITH STROKE |
|
|
| ń | U+0144 LATIN SMALL LETTER N WITH ACUTE 0 402 700 LATIN SMALL LETTER N WITH ACUTE |
|
|
| ŋ | U+014B LATIN SMALL LETTER ENG 0 402 700 702 LATIN SMALL LETTER ENG |
|
|
| š | U+0161 LATIN SMALL LETTER S WITH CARON 0 402 700 702 LATIN SMALL LETTER S WITH CARON |
|
|
| ŧ | U+0167 LATIN SMALL LETTER T WITH STROKE 0 402 700 702 LATIN SMALL LETTER T WITH STROKE |
|
|
| ž | U+017E LATIN SMALL LETTER Z WITH CARON 0 402 700 702 LATIN SMALL LETTER Z WITH CARON |
|
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-
(?<= ^ )look-behind-
^start
-
-
◆anchor
-
-
◆ (?= $ )rule-
◆anchor -
(?= $ )look-ahead-
$end
-
-
-
(?<= ^ . . U+002D ) ◆rule-
(?<= ^ . . U+002D )look-behind-
^start -
.any -
.any -
U+002Dchar
-
-
◆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
^ $
Referenced by 10 definitions
- context of U+00E7
- context of U+00EB
- context of U+00F1
- context of U+010D
- context of U+0111
- context of U+0144
- context of U+014B
- context of U+0161
- context of U+0167
- context of U+017E
Actions
Actions are evaluated in the order shown. The first action whose conditions match determines the disposition of the label.
| # | Disposition | Conditions |
|---|---|---|
| 1 |
invalid
|
label matches leading-combining-mark by default, labels with leading combining marks are invalid |
| 2 |
valid
|
any label default catch all |