Hi, I have a .reg file exported from Windows that contains the following entry:
"HelpLink"=hex(2):68,00,74,00,74,00,70,00,3a,00,2f,00,2f,00,77,00,77,00,77,00,\ 2e,00,6d,00,69,00,63,00,72,00,6f,00,73,00,6f,00,66,00,74,00,2e,00,63,00,6f,\ 00,6d,00,2f,00,73,00,75,00,70,00,70,00,6f,00,72,00,74,00,00,00
When I run "regedit regfile.reg" this value is written into system.reg as follows: "HelpLink"=str(2):"h\0t\0t\0p\0:\0/\0/\0w\0w\0w\0.\0m\0i\0c\0r\0o\0s\0o\0f\0t\0. \0c\0o\0m\0/\0s\0u\0p\0p\0o\0r\0t\0\0"
Looking at this key with wine's regedit I just see an "h", ie. the first character, because the next one is treated as end of string. I don't know if this is a bug in regedit or in the way the value gets read/written by advapi. Any suggestions?
Cheers, Cihan
On Tue, 29 Nov 2005, Cihan Altinay wrote:
I believe one of the problems with Wine's regedit is that it does not deal correctly with Unicode .reg files. The symptoms you describe seem to confirm this. So it's probably regedit that needs fixing.