Skip to content
⌘ NSIS Forum Archive

Problem reading XML with Unicode NSIS

2 posts

dipal#

Problem reading XML with Unicode NSIS

Masters,

I have created an installer with nsDialogs and with Unicode NSIS.
It is basically a multilingual installer.
So as per requirement, I have to get each Label text from API call which returns me XML response which i store in temp folder as XML document.

Now the problem is that when i try to read this document with any of this (xml, nsXML,nsisXML) plugins, It either returns square brackets string or Empty string.

Please guide me what i am missing.

Also please suggest any other better way to read API XML response and set nsDialogs Label Text if possible.

Thanks😞
T.Slappy#
Do you use UNICODE build of plug-in together with UNICODE NSIS?
And is your .xml file saved as UTF-16 or UTF-8?
There are many combinations - some of them are not working correctly.

Read these topics to learn more:
Are you a developer who uses NSIS to distribute your application? Are you a Winamp plug-in developer who wants to use NSIS to distribute your plug-in? Have suggestions for other people like you? This is the place.

Are you a developer who uses NSIS to distribute your application? Are you a Winamp plug-in developer who wants to use NSIS to distribute your plug-in? Have suggestions for other people like you? This is the place.