You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
data is a BYTE string. I am under the impression that data() is interpreted as a sequence of char and is converted into wchar_t under the hood.
The consequence is that with a registry value consisting of ASCII text such as Foo, stored in UTF-16le as 0x46, 00, 6F, 00, 6f, 00, the constructor of CString will stop at the first null byte and only export the string F.
The text was updated successfully, but these errors were encountered:
Hello
In this code:
https://github.com/zodiacon/TotalRegistry/blob/55d76921a44962a8c21e0f57ee555213841510f4/RegExp/RegExportImport.cpp#L55C5-L55C30
data
is a BYTE string. I am under the impression that data() is interpreted as a sequence ofchar
and is converted intowchar_t
under the hood.The consequence is that with a registry value consisting of ASCII text such as
Foo
, stored in UTF-16le as 0x46, 00, 6F, 00, 6f, 00, the constructor of CString will stop at the first null byte and only export the stringF
.The text was updated successfully, but these errors were encountered: