![]() |
#1 |
Junior Member
Join Date: Jul 2014
Posts: 3
|
How to convert string to UCS-2LE
The problem is to convert string into Unicode form UCS-2LE, here the sample.
input: 12345 output UCS2-LE string of bytes: 31003200330034003500 Any idea how to solve it? |
![]() |
![]() |
![]() |
#2 |
Major Dude
Join Date: May 2005
Location: New Zealand
Posts: 923
|
First of all, NSIS Unicode 2.46.5 is a fork of the official package, so we can't provide any support for it.
Try the latest NSIS 3.x release, as the NSIS 3.x releases support both ansi and unicode. To compile a unicode installer, use 'Unicode True'. Put the string into the script and the compiler should convert it for you. "Only a MouseHelmet will save you from a MouseTrap" -Jason Ross (Me) NSIS 3 POSIX Ninja Wiki Profile |
![]() |
![]() |
![]() |
#3 |
Junior Member
Join Date: Jul 2014
Posts: 3
|
Hello I assume the question do not correlate with NSIS version
|
![]() |
![]() |
![]() |
#4 | |
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,548
|
Quote:
IntOp $PostCount $PostCount + 1 |
|
![]() |
![]() |
![]() |
|
Tags |
unicode |
Thread Tools | Search this Thread |
Display Modes | |
|
|