Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,12 @@

## unreleased

- Clarify that comparison for quoted keys is ordinal and doesn't do Unicode
normalization ([#993])

- Clarify that tables typically cannot be nested infinitely [#1087]).

[#993]: https://github.com/toml-lang/toml/pull/993
[#1087]: https://github.com/toml-lang/toml/pull/1087

## 1.1.0 / 2025-12-18
Expand Down
14 changes: 14 additions & 0 deletions toml.md
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,20 @@ spelling = "favorite"
"spelling" = "favourite"
```

Quoted keys are considered identical if their code point sequences are the same.
It is possible to create distinct keys that appear visually identical. Doing so
is discouraged:

```toml
# VALID BUT DISCOURAGED

# prénom = "Françoise", using pre-composed LATIN SMALL LETTER E WITH ACUTE (U+00E9, NFC)
"pr\xe9nom" = "Françoise"

# prénom = "Françoise", using COMBINING ACUTE ACCENT (U+0301, NFD)
"pre\u0301nom" = "Françoise"
```

As long as a key hasn't been directly defined, you may still write to it and to
names within it.

Expand Down