Skip to content

Commit 0c06c5b

Browse files
bfabiolibremente
authored andcommitted
Explicitly state UTF-8 is the only valid encoding. (#78)
* Explicitly state UTF-8 is the only valid encoding. Fixes #76.
1 parent f6f4147 commit 0c06c5b

3 files changed

Lines changed: 20 additions & 4 deletions

File tree

CHANGELOG.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@ Changelog
33

44
All notable changes to this project will be documented in this file.
55

6+
[core-0.2.2] - 2019-12-13
7+
-------------------------
8+
9+
Changed
10+
~~~~~~~
11+
12+
- Mandates UTF-8 as the encoding used.
13+
614
[core-0.2.1] - 2019-10-10
715
-------------------------
816

docs/en/schema.core.rst

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -805,5 +805,9 @@ Dates
805805
~~~~~
806806

807807
All dates in ``publiccode.yml`` must follow the format “YYYY-MM-DD”,
808-
which is one of the ISO8601 allowed encoding. This is the only allowed
809-
encoding though, so not the full ISO8601 is allowed for the date keys.
808+
which is one of the ISO8601 allowed formats. This is the only allowed
809+
format though, so not the full ISO8601 is allowed for the date keys.
810+
811+
Encoding
812+
~~~~~~~~
813+
`publiccode.yml` **MUST** be UTF-8 encoded.

docs/it/schema.core.rst

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -849,6 +849,10 @@ Data
849849
~~~~
850850

851851
Tutte le date in ``publiccode.yml`` devono aderire al formato
852-
“YYYY-MM-DD” che è una delle codifiche permesse dal ISO8601. **Nota
853-
bene:** questa è l’unica codifica permessa, quindi non sono consentiti
852+
“YYYY-MM-DD” che è uno dei formati permessi da ISO8601. **Nota
853+
bene:** questo è l’unico formato permesso, quindi non sono consentiti
854854
gli altri formati previsti da ISO8601.
855+
856+
Codifica
857+
~~~~~~~~
858+
La codifica di ``publiccode.yml`` **DEVE** essere UTF-8.

0 commit comments

Comments
 (0)