"Michal Piaskowski" piaskal@gmail.com writes:
I think it can be done without changing every string to hex. How about adding \0 at the end of every null terminated sting, and \0\0 at the end of proper REG_MULTI_SZ value which should end with an empty string?
It would work, but this can't be changed now, the file format needs to remain backwards compatible.
It turns out that it's fairly easy to use hex format only for non-terminated strings, I put in a fix.