Skip to content

Commit c9859ed

Browse files
committed
Note UTF-8 array truncation issue
1 parent 73bfd13 commit c9859ed

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

VOTable.tex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -410,6 +410,9 @@ \subsection{Primitives}
410410
are equal.
411411
This means that a single (non-array) \literalvalue{char}
412412
is capable of storing a 7-bit ASCII character only.
413+
Strings must not be truncated mid-character
414+
so truncation of a string to fit a fixed-length char array may result in
415+
unused bytes at the end of the array.
413416

414417
For historical reasons the \literalvalue{unicodeChar} type can also be used
415418
for character storage, but from VOTable 1.6 this type is deprecated.

0 commit comments

Comments
 (0)