{"id":"btree-keys-decoded-as-utf8","text":"Leaf deserialization always decodes keys as UTF-8 strings while values remain raw bytes; invalid UTF-8 in key bytes causes UnicodeDecodeError at read time, not write time (since serialize accepts both str and bytes).","truth_value":"IN","source":"entries/2026/05/29/b-tree-storage-engine-btree-_deserialize_leaf.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{},"explanation":{"steps":[{"node":"btree-keys-decoded-as-utf8","truth_value":"IN","reason":"premise"}]}}