-
Notifications
You must be signed in to change notification settings - Fork 11
{unicode: true} does not work for me #19
Copy link
Copy link
Open
Description
Hi! I've tried the beta version of your library with Unicode option support but it doesn't work. Still, return ??? instead Unicode symbols.
Tested on W10 Version 10.0.17763 Build 17763
Example of code (value in registry C:\Program Files\TeamSpeak 3 Client Реестр):
async function getTeamSpeakDirectory() {
let path = await Registry.get('HKLM\\Software\\TeamSpeak 3 Client', '', {unicode: true});
if (!path) path = await Registry.get('HKCU\\Software\\TeamSpeak 3 Client', '');
console.log(path); // C:\Program Files\TeamSpeak 3 Client ??????
return path;
}
It looks like 'cmd.exe /c chcp.com 67001' does not change encoding for next call,
await Registry.getCodePage() return 437 after await Registry.setCodePage(67001).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels