This document is mechanically formatted from the 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 | 2016-08-30 |
---|---|
LGR Version | 1 |
Language | swe-Latin |
Unicode Version | 6.3.0 |
This document specifies a reference set of Label Generation Rules for Swedish using a limited repertoire as appropriate for a second level domain.
references converge on 42 (29+13) Latin code points, with an additional 9 extensions. The repertoire here adds U+00E6 (æ) LATIN SMALL LETTER AE and U+00F8 (ø) LATIN SMALL LETTER O WITH STROKE, both of which are used in neighboring Denmark and Norway.
In addition, reference [605] cites use of these letters in foreign names:
U+00EB (ë) LATIN SMALL LETTER E WITH DIAERESIS
U+00ED (í) LATIN SMALL LETTER I WITH ACUTE
U+00F1 (ñ) LATIN SMALL LETTER N WITH TILDE
U+00F5 (õ) LATIN SMALL LETTER O WITH TILDE
They have been added to the core repertoire.
The Latin repertoire of the IDN table published in the IANA Repository of IDN Practices for the .se ccTLD includes code points for Swedish plus all the official Latin-based minority languages, such as Finnish [700]. This goes beyond the scope of a language-based LGR.
Letters documented in some references but not included:
U+00E3 (ã) LATIN SMALL LETTER A WITH TILDE
U+00EA (ê) LATIN SMALL LETTER E WITH CIRCUMFLEX
U+00EC (ì) LATIN SMALL LETTER I WITH GRAVE
U+00EE (î) LATIN SMALL LETTER I WITH CIRCUMFLEX
U+00F0 (ð) LATIN SMALL LETTER ETH
U+00F2 (ò) LATIN SMALL LETTER O WITH GRAVE
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+0101 (ā) LATIN SMALL LETTER A WITH MACRON
U+0107 (ć) LATIN SMALL LETTER C WITH ACUTE
U+011B (ě) LATIN SMALL LETTER E WITH CARON
U+012B (ī) LATIN SMALL LETTER I WITH MACRON
U+0142 (ł) LATIN SMALL LETTER L WITH STROKE
U+0159 (ř) LATIN SMALL LETTER R WITH CARON
U+015B (ś) LATIN SMALL LETTER S WITH ACUTE
U+0161 (š) LATIN SMALL LETTER S WITH CARON
U+0163 (ţ) LATIN SMALL LETTER T WITH CEDILLA
U+017A (ź) LATIN SMALL LETTER Z WITH ACUTE
U+01CE (ǎ) LATIN SMALL LETTER A WITH CARON
U+01D0 (ǐ) LATIN SMALL LETTER I WITH CARON
U+01D2 (ǒ) LATIN SMALL LETTER O WITH CARON
U+01D4 (ǔ) LATIN SMALL LETTER U WITH CARON
U+01E5 (ǥ) LATIN SMALL LETTER G WITH STROKE
U+01E7 (ǧ) LATIN SMALL LETTER G WITH CARON
U+01E9 (ǩ) LATIN SMALL LETTER K WITH CARON
U+01EF (ǯ) LATIN SMALL LETTER EZH WITH CARON
U+0213 (ȓ) LATIN SMALL LETTER R WITH INVERTED BREVE
U+0259 (ə) LATIN SMALL LETTER SCHWA
U+0292 (ʒ) LATIN SMALL LETTER EZH
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 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.
Reference [702] cites these extensions for the major Sami orthographies.
U+00E2 (â) LATIN SMALL LETTER A WITH CIRCUMFLEX
U+00EF (ï) LATIN SMALL LETTER I WITH DIAERESIS
U+010D (č) LATIN SMALL LETTER C WITH CARON
U+0111 (đ) LATIN SMALL LETTER D WITH STROKE
U+0144 (ń) LATIN SMALL LETTER N WITH ACUTE
U+014B (ŋ) LATIN SMALL LETTER ENG
U+0167 (ŧ) LATIN SMALL LETTER T WITH STROKE
U+017E (ž) LATIN SMALL LETTER Z WITH CARON
These have been included here in the extended repertoire.
None.
This LGR defines no named character classes.
Common rules only:
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 RFC5891 [120]. 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 RFC5891 [120].
Actions included are the default actions for LGRs as well as those needed to invalidate labels with misplaced combining marks.
This reference LGR for Swedish for the 2nd Level has been developed by Michel Suignard and Asmus Freytag, verified in expert reviews by Michael Everson, Nicholas Ostler, and Wil Tan, and based on multiple open public consultations.
General references for the language:
Svenska språknämnden. 1991. Svenska skrivregler. Stockholm: Almqvist & Wiksell. ISBN 91-21-11280-0
Tekniska nomenklaturcentralen, in Icelandic Council for Standardization. 1992. Nordic cultural requirements on information technology. Reykjavík: Staðlaráð Íslands. ISBN 9979-9004-3-1
Wikipedia: "Swedish orthography",
http://en.wikipedia.org/wiki/Swedish_alphabet
Omniglot: "Swedish (svenska)" htm
http://www.omniglot.com/writing/swedish.htm
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. For more details, see the Table of References below.
Number of elements in Repertoire | 53 |
---|---|
Number of extended elements | 9 |
Total entries in table | 62 |
Longest code point sequence | 1 |
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.
Code Point |
Glyph | Script | Name | References | Tags | Required Context | Part of Repertoire |
Comment |
---|---|---|---|---|---|---|---|---|
U+002D | - | Common | HYPHEN-MINUS | [0], [100], [102], [301], [401], [501], [601], [700] | sc:Zyyy | not: hyphen-minus-disallowed | ✔ | |
U+0030 | 0 | Common | DIGIT ZERO | [0], [100], [102], [301], [401], [501], [601], [700] | sc:Zyyy | ✔ | ||
U+0031 | 1 | Common | DIGIT ONE | [0], [100], [102], [301], [401], [501], [601], [700] | sc:Zyyy | ✔ | ||
U+0032 | 2 | Common | DIGIT TWO | [0], [100], [102], [301], [401], [501], [601], [700] | sc:Zyyy | ✔ | ||
U+0033 | 3 | Common | DIGIT THREE | [0], [100], [102], [301], [401], [501], [601], [700] | sc:Zyyy | ✔ | ||
U+0034 | 4 | Common | DIGIT FOUR | [0], [100], [102], [301], [401], [501], [601], [700] | sc:Zyyy | ✔ | ||
U+0035 | 5 | Common | DIGIT FIVE | [0], [100], [102], [301], [401], [501], [601], [700] | sc:Zyyy | ✔ | ||
U+0036 | 6 | Common | DIGIT SIX | [0], [100], [102], [301], [401], [501], [601], [700] | sc:Zyyy | ✔ | ||
U+0037 | 7 | Common | DIGIT SEVEN | [0], [100], [102], [301], [401], [501], [601], [700] | sc:Zyyy | ✔ | ||
U+0038 | 8 | Common | DIGIT EIGHT | [0], [100], [102], [301], [401], [501], [601], [700] | sc:Zyyy | ✔ | ||
U+0039 | 9 | Common | DIGIT NINE | [0], [100], [102], [301], [401], [501], [601], [700] | sc:Zyyy | ✔ | ||
U+0061 | a | Latin | LATIN SMALL LETTER A | [0], [100], [102], [301], [401], [501], [601], [700] | sc:Latn | ✔ | ||
U+0062 | b | Latin | LATIN SMALL LETTER B | [0], [100], [102], [301], [401], [501], [601], [700] | sc:Latn | ✔ | ||
U+0063 | c | Latin | LATIN SMALL LETTER C | [0], [100], [102], [301], [401], [501], [601], [700] | sc:Latn | ✔ | ||
U+0064 | d | Latin | LATIN SMALL LETTER D | [0], [100], [102], [301], [401], [501], [601], [700] | sc:Latn | ✔ | ||
U+0065 | e | Latin | LATIN SMALL LETTER E | [0], [100], [102], [301], [401], [501], [601], [700] | sc:Latn | ✔ | ||
U+0066 | f | Latin | LATIN SMALL LETTER F | [0], [100], [102], [301], [401], [501], [601], [700] | sc:Latn | ✔ | ||
U+0067 | g | Latin | LATIN SMALL LETTER G | [0], [100], [102], [301], [401], [501], [601], [700] | sc:Latn | ✔ | ||
U+0068 | h | Latin | LATIN SMALL LETTER H | [0], [100], [102], [301], [401], [501], [601], [700] | sc:Latn | ✔ | ||
U+0069 | i | Latin | LATIN SMALL LETTER I | [0], [100], [102], [301], [401], [501], [601], [700] | sc:Latn | ✔ | ||
U+006A | j | Latin | LATIN SMALL LETTER J | [0], [100], [102], [301], [401], [501], [601], [700] | sc:Latn | ✔ | ||
U+006B | k | Latin | LATIN SMALL LETTER K | [0], [100], [102], [301], [401], [501], [601], [700] | sc:Latn | ✔ | ||
U+006C | l | Latin | LATIN SMALL LETTER L | [0], [100], [102], [301], [401], [501], [601], [700] | sc:Latn | ✔ | ||
U+006D | m | Latin | LATIN SMALL LETTER M | [0], [100], [102], [301], [401], [501], [601], [700] | sc:Latn | ✔ | ||
U+006E | n | Latin | LATIN SMALL LETTER N | [0], [100], [102], [301], [401], [501], [601], [700] | sc:Latn | ✔ | ||
U+006F | o | Latin | LATIN SMALL LETTER O | [0], [100], [102], [301], [401], [501], [601], [700] | sc:Latn | ✔ | ||
U+0070 | p | Latin | LATIN SMALL LETTER P | [0], [100], [102], [301], [401], [501], [601], [700] | sc:Latn | ✔ | ||
U+0071 | q | Latin | LATIN SMALL LETTER Q | [0], [100], [102], [301], [401], [501], [601], [700] | sc:Latn | ✔ | ||
U+0072 | r | Latin | LATIN SMALL LETTER R | [0], [100], [102], [301], [401], [501], [601], [700] | sc:Latn | ✔ | ||
U+0073 | s | Latin | LATIN SMALL LETTER S | [0], [100], [102], [301], [401], [501], [601], [700] | sc:Latn | ✔ | ||
U+0074 | t | Latin | LATIN SMALL LETTER T | [0], [100], [102], [301], [401], [501], [601], [700] | sc:Latn | ✔ | ||
U+0075 | u | Latin | LATIN SMALL LETTER U | [0], [100], [102], [301], [401], [501], [601], [700] | sc:Latn | ✔ | ||
U+0076 | v | Latin | LATIN SMALL LETTER V | [0], [100], [102], [301], [401], [501], [601], [700] | sc:Latn | ✔ | ||
U+0077 | w | Latin | LATIN SMALL LETTER W | [0], [100], [102], [301], [401], [501], [601], [700] | sc:Latn | ✔ | ||
U+0078 | x | Latin | LATIN SMALL LETTER X | [0], [100], [102], [301], [401], [501], [601], [700] | sc:Latn | ✔ | ||
U+0079 | y | Latin | LATIN SMALL LETTER Y | [0], [100], [102], [301], [401], [501], [601], [700] | sc:Latn | ✔ | ||
U+007A | z | Latin | LATIN SMALL LETTER Z | [0], [100], [102], [301], [401], [501], [601], [700] | sc:Latn | ✔ | ||
U+00E0 | à | Latin | LATIN SMALL LETTER A WITH GRAVE | [0], [301], [401], [501], [604], [700] | sc:Latn | ✔ | ||
U+00E1 | á | Latin | LATIN SMALL LETTER A WITH ACUTE | [0], [200], [302], [402], [503], [604], [700], [702] | sc:Latn | ✔ | ||
U+00E2 | â | Latin | LATIN SMALL LETTER A WITH CIRCUMFLEX | [0], [302], [402], [702] | sc:Latn | extended-cp | ◯ | |
U+00E4 | ä | Latin | LATIN SMALL LETTER A WITH DIAERESIS | [0], [100], [102], [200], [301], [401], [501], [603], [604], [700] | sc:Latn | ✔ | ||
U+00E5 | å | Latin | LATIN SMALL LETTER A WITH RING ABOVE | [0], [100], [102], [200], [301], [401], [501], [603], [604], [700] | sc:Latn | ✔ | ||
U+00E6 | æ | Latin | LATIN SMALL LETTER AE | [0], [302], [402], [503], [700] | sc:Latn | ✔ | ||
U+00E7 | ç | Latin | LATIN SMALL LETTER C WITH CEDILLA | [0], [302], [402], [605], [700] | sc:Latn | ✔ | ||
U+00E8 | è | Latin | LATIN SMALL LETTER E WITH GRAVE | [0], [302], [503], [604], [700] | sc:Latn | ✔ | ||
U+00E9 | é | Latin | LATIN SMALL LETTER E WITH ACUTE | [0], [100], [102], [200], [301], [401], [501], [603], [604], [700] | sc:Latn | ✔ | ||
U+00EB | ë | Latin | LATIN SMALL LETTER E WITH DIAERESIS | [0], [302], [402], [503], [605], [700] | sc:Latn | ✔ | ||
U+00ED | í | Latin | LATIN SMALL LETTER I WITH ACUTE | [0], [302], [402], [605], [700] | sc:Latn | ✔ | ||
U+00EF | ï | Latin | LATIN SMALL LETTER I WITH DIAERESIS | [0], [302], [402], [700], [702] | sc:Latn | extended-cp | ◯ | |
U+00F1 | ñ | Latin | LATIN SMALL LETTER N WITH TILDE | [0], [302], [402], [605], [700] | sc:Latn | ✔ | ||
U+00F3 | ó | Latin | LATIN SMALL LETTER O WITH ACUTE | [0], [302], [402], [700] | sc:Latn | ✔ | ||
U+00F5 | õ | Latin | LATIN SMALL LETTER O WITH TILDE | [0], [605], [700] | sc:Latn | ✔ | ||
U+00F6 | ö | Latin | LATIN SMALL LETTER O WITH DIAERESIS | [0], [100], [102], [200], [301], [401], [501], [603], [604], [700] | sc:Latn | ✔ | ||
U+00F8 | ø | Latin | LATIN SMALL LETTER O WITH STROKE | [0], [302], [402], [503], [700] | sc:Latn | ✔ | ||
U+00FC | ü | Latin | LATIN SMALL LETTER U WITH DIAERESIS | [0], [100], [102], [200], [302], [402], [503], [603], [604], [700] | sc:Latn | ✔ | ||
U+010D | č | Latin | LATIN SMALL LETTER C WITH CARON | [0], [302], [700], [702] | sc:Latn | extended-cp | ◯ | |
U+0111 | đ | Latin | LATIN SMALL LETTER D WITH STROKE | [0], [700], [702] | sc:Latn | extended-cp | ◯ | |
U+0144 | ń | Latin | LATIN SMALL LETTER N WITH ACUTE | [0], [302], [700], [702] | sc:Latn | extended-cp | ◯ | |
U+014B | ŋ | Latin | LATIN SMALL LETTER ENG | [0], [700], [702] | sc:Latn | extended-cp | ◯ | |
U+0161 | š | Latin | LATIN SMALL LETTER S WITH CARON | [0], [302], [700], [702] | sc:Latn | extended-cp | ◯ | |
U+0167 | ŧ | Latin | LATIN SMALL LETTER T WITH STROKE | [0], [700], [702] | sc:Latn | extended-cp | ◯ | |
U+017E | ž | Latin | LATIN SMALL LETTER Z WITH CARON | [0], [700], [702] | sc:Latn | extended-cp | ◯ |
This LGR does not specify any variants.
The following table lists all named 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 |
---|---|---|---|---|---|
implicit | Tag=sc:Latn | 51 Elements: | {0061-007A 00E0-00E2 00E4-00E9 00EB 00ED 00EF 00F1 00F3 00F5-00F6 00F8 00FC 010D 0111 0144 014B ...} | ||
implicit | Tag=sc:Zyyy | 11 Elements: | {002D 0030-0039} |
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. (Any use of context rules for variants is not indicated).
Name | Used as Trigger |
Used as Context |
Anchor | Regular Expression | Ref | Comment |
---|---|---|---|---|---|---|
leading-combining-mark | ✔ | (^[∅=[[∅=\p{gc=Mn}][∅=\p{gc=Mc}]]]) |
[120] | RFC5891 restrictions on placement of combining marks | ||
hyphen-minus-disallowed | ✔ | ✔ | ((((?<=^)⚓)|(⚓(?=$))|((?<=^..\u002D)⚓))) |
[120] | RFC5891 restrictions on placement of U+002D | |
extended-cp | ✔ | (^$) |
code points from the extended range |
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 matches | leading-combining-mark | → | invalid | by default, labels with leading combining marks are invalid | |
2 | if any label (catch-all) | → | valid | catch all |
[0] | The Unicode Consortium. The Unicode Standard, Version 6.3.0,
(Mountain View, CA: The Unicode Consortium, 2013. ISBN 978-1-936213-08-5)
http://www.unicode.org/versions/Unicode6.3.0/ Code points cited were originally encoded in Unicode Version 1.1 |
[100] | Internetstiftelsen i Sverige (IIS), "IDN Reference table for Swedish language"
https://github.com/dotse/IDN-ref-tables/blob/master/language-tables/swedish-lang-ref-table.txt |
[102] | Repository of IDN practices at IANA: Stiftelsen för Internetinfrastruktur, TLD:.se for language sv-SE.
https://www.iana.org/domains/idn-tables/tables/se_sv-se_1.0.html |
[120] | RFC5891, Internationalized Domain Names in Applications (IDNA): Protocol http://tools.ietf.org/html/rfc5891 |
[200] | ISO/IEC 6937 Third Ed. 2001-12-17- Information
technology — Coded graphic character set for text communication — Latin alphabet: Table D.1 (p 35) Use of Latin alphabetic characters. This table lists only the characters outside the set a-z |
[301] | Everson, Michael. The Alphabets of Europe: "Swedish" http://www.evertype.com/alphabets/swedish.pdf Code points cited form the standard set |
[302] | Everson, Michael. The Alphabets of Europe: "Swedish" http://www.evertype.com/alphabets/swedish.pdf Code points cited are from an extended set |
[304] | Everson, Michael. The Alphabets of Europe: "Swedish" http://www.evertype.com/alphabets/swedish.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 Swedish [sv] http://www.unicode.org/cldr/charts/28/summary/sv.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 Swedish [sv] http://www.unicode.org/cldr/charts/28/summary/sv.html Code points cited are from the Auxiliary set |
[501] | Tekniska nomenklaturcentralen, in Icelandic Council for Standardization. 1992.
Nordic cultural requirements on information technology. Reykjavík: Staðlaráð Íslands. ISBN 9979-9004-3-1 Code points cited are of category 1: Letters essential for the language |
[502] | Tekniska nomenklaturcentralen, in Icelandic Council for Standardization. 1992.
Nordic cultural requirements on information technology. Reykjavík: Staðlaráð Íslands. ISBN 9979-9004-3-1 Code points cited are of category 2: Letters commonly used, but not essential |
[503] | Tekniska nomenklaturcentralen, in Icelandic Council for Standardization. 1992.
Nordic cultural requirements on information technology. Reykjavík: Staðlaráð Íslands. ISBN 9979-9004-3-1 Code points cited are of category 3: Letters used for names, in common practice |
[504] | Tekniska nomenklaturcentralen, in Icelandic Council for Standardization. 1992.
Nordic cultural requirements on information technology. Reykjavík: Staðlaráð Íslands. ISBN 9979-9004-3-1 Code points cited are of category 4: Letters that are rarely used |
[603] | ISO/IEC 646:1991 — Information
technology — ISO 7-bit coded character set for information interchange Code points cited are supported in a national edition of ISO-646. |
[601] | Wikipedia: "Latin Alphabets"
https://en.wikipedia.org/wiki/Latin_alphabets - accessed 2015-10-31 According to this reference, the alphabet is listed as using the full basic set A-Z |
[604] | Wikipedia: "Latin Alphabets" https://en.wikipedia.org/wiki/Latin_alphabets. accessed 2015-10-31 The table only lists code points beyond A-Z |
[605] | Wikipedia: "Swedish orthography" https://en.wikipedia.org/wiki/Swedish_orthography Code points cited are listed as in extended use |
[700] | Internetstiftelsen i Sverige (IIS),
"Valid Domain Name characters", https://www.iis.se/docs/teckentabell-04.pdf This table covers not only Swedish, but all official minority languages in Sweden |
[702] | Wikipedia: "Sami Languages" https://en.wikipedia.org/wiki/Sami_languages |