4953f0a974c4fb3f314494c8867cb206cc8850dc
Reject failed UTF-16 sizing queries before allocating the UTF-8 result and preserve terminating-NUL accounting. Validation: nine host-stub cases with 16-bit wchar_t; native Windows execution remains unverified.
Languages
Rust
90.1%
Python
4.9%
JavaScript
1.3%
C++
1.2%
CMake
0.9%
Other
1.3%