diff options
| author | vassvik <mvassvik@gmail.com> | 2020-06-13 15:19:41 +0200 |
|---|---|---|
| committer | vassvik <mvassvik@gmail.com> | 2020-06-13 15:19:41 +0200 |
| commit | 0056cdffa713f6d2a1b87421d80b27c49cce5a0b (patch) | |
| tree | 55c5e65282423c017e834418b9dd543ce8e39ae2 /src/checker.cpp | |
| parent | a229f9825bc57554ca70ee5939c1f9c1a38525cd (diff) | |
Reworked win32.utf16_to_utf8 and win32.wstring_to_utf8 to scan for zeros from the start of the string instead of from the end.
This is useful to correctly convert strings from a buffer possibly containing multiple multiple substrings.
The resulting utf8 string is not null terminated, even if the backing memory might be null terminated.
Diffstat (limited to 'src/checker.cpp')
0 files changed, 0 insertions, 0 deletions