mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-07 02:51:44 +00:00
Lossy UTF-8 conversion can triple invalid bytes, and a fallback key such as ©nam is five bytes, not four. The budget now charges the length the text will be stored at, computed without allocating, before the value is converted (CodeRabbit review).