-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Solves #44 wrong encoding #58
base: master
Are you sure you want to change the base?
Conversation
Added .toString('binary') to make ä/ü/ö/etc characters readable. //avoiding null escape
Added .toString('binary') to allow special characters such as ä/ü/ö/ //etc
I don't think this is the correct fix. The problem is that we're using I think instead the fix is to use the -W functions throughout, i.e. In any case please squash these five commits down to a single commit so that it's obvious you're only actually changing the one line! |
I've been playing with ExW myself and that was my original idea. And alike you was getting a plenty of side effect issues. Will squash-apologizes for that. |
I'm not sure my issues were side effects of my change though: the unit tests don't work for me either on master or on your branch. I can't test right now but I'd guess your version won't work with e.g. curly quotes, i.e. “”, since they're characters >255. FWIW here's my branch but I'm not sure when I'll get time to work on this more: https://github.com/RupW/windows-registry-node/commits/issue-44 |
I have fixed up my RegQueryValueExW commit: RupW@3fdbae5 and it will successfully read value |
For the record the changes mentioned above are part of #60 |
Solves #44 !