From: Sergey Matveev Date: Mon, 7 Oct 2024 05:06:54 +0000 (+0300) Subject: Remark about zero byte X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=353778e49cde0aaf34cb9b057ff3b36fbd75f6f73a844b42ec0f81290a449bb6;p=keks.git Remark about zero byte --- diff --git a/spec/encoding/str.texi b/spec/encoding/str.texi index 51d3089..288349a 100644 --- a/spec/encoding/str.texi +++ b/spec/encoding/str.texi @@ -32,8 +32,8 @@ If length value equals to: String's length @strong{must} be encoded in shortest possible form. -UTF-8 strings @strong{must} be valid UTF-8 sequences. That also -automatically assures that no zero byte will be met. +UTF-8 strings @strong{must} be valid UTF-8 sequences, except that null +byte is not allowed. Example representations: