about summary refs log tree commit diff
path: root/README.md
diff options
context:
space:
mode:
authorsterni <sternenseemann@systemli.org>2021-11-23T18·58+0100
committersterni <sternenseemann@systemli.org>2021-11-25T11·15+0100
commit750ef6c6934209262cf6dfc00139ca32d08f442d (patch)
treec04ca5740b35425bf3b8fe86a490dad374e1140b /README.md
parent8dc54f89cdaf2e029230adbd14242ba0db6832ab (diff)
feat(sterni/nix/utf8): check if codepoint valid/encodeable r/3094
* Enforce the U+0000 to U+10FFFF range in `count` and throw an error if
  the given codepoint exceeds the range (encoding U+0000 won't work of
  course, but this is Nix's fault…).

* Check if the produced bytes are well formed and output an error if
  not. This indicates that the codepoint can't be encoded as UTF-8, like
  U+D800 which is reserved for UTF-16.

Change-Id: I18336e527484580f28cbfe784d51718ee15c5477
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions