Danish (language)
Second-Level Reference Label Generation Rules, 25 October 2024 Current
Summary
| Version | 3 — Second Level Reference LGR |
|---|---|
| Date | |
| Tag |
da (Danish)
|
| Unicode | 11.0.0 |
| Source file | lgr-second-level-danish-language-25oct24-en.xml (23.5kb) |
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 Danish
Overview
This document specifies a set of Label Generation Rules (LGR) for the Danish 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 Danish Language” [Ref-LGR-da-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 31 (29 + 2) Latin code points. In addition to the 29 letters of the alphabet proper, these include two letter used as part of the proper spelling of certain words: U+00E9 LATIN SMALL LETTER E WITH ACUTE and U+00FC LATIN SMALL LETTER U WITH DIAERESIS. Both occur in spelling dictionaries and especially the former is used in many ordinary words. The repertoire here adds U+00E4 LATIN SMALL LETTER A WITH DIAERESIS and U+00F6 LATIN SMALL LETTER O WITH DIAERESIS, both of which are used in neighboring Sweden and Germany. Finally, the use of all three code points with diaresis, alone or together with code points from the core Danish alphabet such as U+00F8 LATIN SMALL LETTER O WITH STROKE is not uncommon in family names. All three are available on Danish keyboards.
There is no IDN table published in the IANA Repository of IDN Practices by .dk ccTLD, but the registry provides IDN information [700].
Excluded code points
Letters documented in some references but not included:
U+00DF LATIN SMALL LETTER SHARP S
U+00E0 LATIN SMALL LETTER A WITH GRAVE
U+00E1 LATIN SMALL LETTER A WITH ACUTE
U+00E2 LATIN SMALL LETTER A WITH CIRCUMFLEX
U+01FB LATIN SMALL LETTER A WITH RING ABOVE AND ACUTE
U+00E7 LATIN SMALL LETTER C WITH CEDILLA
U+00E8 LATIN SMALL LETTER E WITH GRAVE
U+00EA LATIN SMALL LETTER E WITH CIRCUMFLEX
U+00EB LATIN SMALL LETTER E WITH DIAERESIS
U+00ED LATIN SMALL LETTER I WITH ACUTE
U+00EE LATIN SMALL LETTER I WITH CIRCUMFLEX
U+00EF LATIN SMALL LETTER I WITH DIAERESIS
U+00F0 LATIN SMALL LETTER ETH
U+00F1 LATIN SMALL LETTER N WITH TILDE
U+00F3 LATIN SMALL LETTER O WITH ACUTE
U+00F4 LATIN SMALL LETTER O WITH CIRCUMFLEX
U+00F9 LATIN SMALL LETTER U WITH GRAVE
U+00FA LATIN SMALL LETTER U WITH ACUTE
U+00FB LATIN SMALL LETTER U WITH CIRCUMFLEX
U+00FD LATIN SMALL LETTER Y WITH ACUTE
U+00FE LATIN SMALL LETTER THORN
U+00FF LATIN SMALL LETTER Y WITH DIAERESIS
U+0153 LATIN SMALL LIGATURE OE
U+01FD LATIN SMALL LETTER AE WITH ACUTE
U+01FF LATIN SMALL LETTER O WITH STROKE AND ACUTE
The above list includes code points for languages like Faroese, which are written in territories associated with the country of Denmark, but that are not part of the Danish language.
Also excluded is U+00DF which is used in German, a minority language in Denmark. While it is supported in existing IDN practice [700], to correctly address it would require mitigating the complication from use of “ss” as a common fallback. See the discussion of “fallback variants” in Second Level Reference Label Generation Ruleset for German (de) [Ref-LGR-de].
Extended code points
None.
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 Danish 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 Danish Language [Ref-LGR-da-Latn] without normative changes.
References
General references for the language:
Dansk sprognævn. 1996. Retskrivningsordbogen. 2. udgave. København: Aschehoug. ISBN 87-11-10000-1
Dansk sprognævn, in Icelandic Council for Standardization. 1992. Nordic cultural requirements on information technology. Reykjavík: Staðlaráð Íslands. ISBN 9979-9004-3-1
Wikipedia: “Danish orthography”, https://en.wikipedia.org/wiki/Danish_alphabet
Sproget.dk, published in Danish as a co-operation between Kulturministeriets institutioner for sprog og litteratur, Dansk Sprognævn (DSN) and Det Danske Sprog- og Litteraturselskab (DSL). Section under “Råd og regler”, “Retskrivningsregler”, “Bogstaverne”, https://sproget.dk/raad-og-regler/retskrivningsregler/retskrivningsregler/a7-1-6/a7-1-bogstaverne
Københavns Universitet (University of Copenhagen), Names in Denmark, Research into names https://names.ku.dk/research_into_names/ accessed on 2023-05-01
Omniglot: Danish (dansk) https://www.omniglot.com/writing/danish.htm
Other reference 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-da-Latn]
- ICANN, Second Level Reference Label Generation Rules for the Danish Language (da-Latn), 25 October 2024 (XML) https://www.icann.org/sites/default/files/packages/lgr/lgr-second-level-danish-language-25oct24-en.xml non-normative HTML presentation: https://www.icann.org/sites/default/files/packages/lgr/lgr-second-level-danish-language-25oct24-en.html
- [Unicode 11.0.0]
- [Ref-LGR-de]
- ICANN, Second Level Reference Label Generation Rules for the German Langauge (de), 25 October 2024 (XML) https://www.icann.org/sites/default/files/packages/lgr/lgr-second-level-german-language-25oct24-en.xml non-normative HTML presentation: https://www.icann.org/sites/default/files/packages/lgr/lgr-second-level-german-language-25oct24-en.html
- 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 502 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 502 601 LATIN SMALL LETTER Y |
|
|
| z | U+007A LATIN SMALL LETTER Z 0 100 301 401 501 601 LATIN SMALL LETTER Z |
|
|
| ä | U+00E4 LATIN SMALL LETTER A WITH DIAERESIS 0 402 503 700 LATIN SMALL LETTER A WITH DIAERESIS |
|
|
| å | U+00E5 LATIN SMALL LETTER A WITH RING ABOVE 0 100 200 301 401 501 603 604 700 LATIN SMALL LETTER A WITH RING ABOVE |
|
|
| æ | U+00E6 LATIN SMALL LETTER AE 0 100 200 401 501 603 604 700 LATIN SMALL LETTER AE |
|
|
| é | U+00E9 LATIN SMALL LETTER E WITH ACUTE 0 100 200 301 402 502 700 LATIN SMALL LETTER E WITH ACUTE |
|
|
| ö | 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 401 501 603 604 700 LATIN SMALL LETTER O WITH STROKE |
|
|
| ü | U+00FC LATIN SMALL LETTER U WITH DIAERESIS 0 100 302 402 503 700 LATIN SMALL LETTER U WITH DIAERESIS |
|
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
^ $
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 |