Skip to content

Commit d587bc1

Browse files
authored
Merge pull request #403 from NeurodataWithoutBorders/ascii_utf8
Add note about ASCII and UTF-8
2 parents 5d6160e + 9775458 commit d587bc1

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

docs/language/source/specification_language_description.rst

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -553,12 +553,12 @@ String specifying the data type of the attribute. Allowable values are:
553553
| * "numeric" | any numeric type (i.e., int, | 8 to 64 bit |
554554
| | uint, float etc.) | |
555555
+--------------------------+----------------------------------+----------------+
556-
| * "text" | unicode | variable |
556+
| * "text" | 8-bit Unicode | variable |
557557
| * "utf" | | |
558558
| * "utf8" | | |
559559
| * "utf-8" | | |
560560
+--------------------------+----------------------------------+----------------+
561-
| * "ascii" | ascii text | variable |
561+
| * "ascii" | ASCII text | variable |
562562
| * "bytes" | | |
563563
+--------------------------+----------------------------------+----------------+
564564
| * "bool" | 8 bit integer with valid values | 8 bit |
@@ -573,6 +573,9 @@ String specifying the data type of the attribute. Allowable values are:
573573

574574
The precision indicated in the specification is generally interpreted as a minimum precision.
575575
Higher precisions may be used if required by the particular data.
576+
In addition, since valid ASCII text is valid UTF-8-encoded Unicode, ASCII text may be used
577+
where 8-bit Unicode is required. 8-bit Unicode cannot be used where ASCII is required.
578+
576579

577580
Reference ``dtype``
578581
"""""""""""""""""""

0 commit comments

Comments
 (0)