I'm also having trouble using the unicode version of the plugin:
With the ansi version, the message box reads "testValue" as expected, but with the unicode version is just says "t".code:
OutFile "test.exe"
!define SETTING_UNICODE
!ifdef SETTING_UNICODE
Unicode true
!addplugindir /x86-unicode "./plugins/x86-unicode"
!else
Unicode false
!addplugindir /x86-ansi "./plugins/x86-ansi"
!endif
Page instfiles
Function .onInit
nsjson::set /tree testTree testNode /value testValue
nsjson::get /tree testTree testNode /end
Pop $R0
MessageBox MB_OK $R0 ; "testValue"
FunctionEnd
Section "dummy"
SectionEnd
Comment