I am trying to build a unicode setup. I have to read some informations from a xml file but in the unicode version i can not do it. I tried to use different plugins like XML plugin(the one i used for the ANSI setup and it works fine), nsisXml and some others. with XML plugin in the unicode version I retrieve instead of my values, other chars(like squares <.< or empty strings). I can't understand why this happend. Xml plugin could support unicode UTF-8.
I attach the code I am using for reading the xml file and the xml file.
<root>
<version vers="myvalue"/>
</root> ${If} ${FileExists} "file.xml"
${xml::LoadFile} "file.xml" $0
${xml::FindNextElement} "version" $0 $1
${xml::ElementPath} $Path
${xml::GotoPath} "$Path" $5
${xml::GetAttribute} "vers" $myvar $2
${xml::Unload}
${EndIf} I can not understand why this code work in ANSI format returning in this example "myvalue" and does not work in UTF-8 returning a square or an empty string😔🙁.p.s. I am sorry for my English .-. and i can not find the answer in other threads so i made this...😛
Thnx in advance
Bennaloz