tvl-depot/users/sterni/nix
sterni 750ef6c693 feat(sterni/nix/utf8): check if codepoint valid/encodeable
* 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
2021-11-25 12:15:35 +01:00
..
char chore(3p): update NixOS channels to 2021-08-30 2021-08-30 17:06:40 +00:00
flow feat(users/sterni/nix/flow): add switch conditional 2021-03-05 11:07:41 +00:00
fun feat(sterni/nix/fun): add hasEllipsis 2021-04-12 17:47:53 +00:00
html feat(users/sterni/nix): cursed nix html DSL 2021-08-26 15:34:58 +00:00
int feat(users/sterni/nix/utf8): pure nix utf-8 decoder 2021-03-05 11:07:41 +00:00
string feat(users/sterni/nix/string): very simple printf implementation 2021-09-12 09:25:30 +00:00
url feat(sterni/nix/url): implement urldecoding 2021-04-01 13:09:46 +00:00
utf8 feat(sterni/nix/utf8): check if codepoint valid/encodeable 2021-11-25 12:15:35 +01:00