Hi
I need Help to solve my problem with Nsis Unicode
When I run my Unicode script (just for creating Internet Shortcut) whit Nsis Unicode can not write in true font but Nsis Ansi create very well (wow!)
why?
Persian LAN.
for ex.
=================== OutFile makeurl.exe section SetShellVarContext current CreateDirectory "$SMPROGRAMS\The KMPlayer" WriteINIStr "$SMPROGRAMS\The KMPlayer\KMPlayer تالار گفتمان فارسي.url" "InternetShortcut" "URL" "http://www.kmplayer.com/forums/forumdisplay.php?f=48" WriteINIStr "$SMPROGRAMS\The KMPlayer\KMPlayer تالار گفتمان فارسي.url" "InternetShortcut" "IconFile" "$SYSDIR\URL.dll" WriteINIStr "$SMPROGRAMS\The KMPlayer\KMPlayer تالار گفتمان فارسي.url" "InternetShortcut" "IconIndex" "0" sectionend Result oF Nsis 2.46 Rv2 Unicode Portable:==> (KMPlayer ÊÇáÇÑ ÝÊãÇä ÝÇÑÓí.url) ------------------------------------------------------------ .. .. .. OutFile: "makeurl.exe" Section: "" SetShellVarContext: current CreateDirectory: "$SMPROGRAMS\The KMPlayer" WriteINIStr: [InternetShortcut] URL=http://www.kmplayer.com/forums/forumdisplay.php?f=48 in $SMPROGRAMS\The KMPlayer\KMPlayer ÊÇáÇÑ ÝÊãÇä ÝÇÑÓí.url WriteINIStr: [InternetShortcut] IconFile=$SYSDIR\URL.dll in $SMPROGRAMS\The KMPlayer\KMPlayer ÊÇáÇÑ ÝÊãÇä ÝÇÑÓí.url WriteINIStr: [InternetShortcut] IconIndex=0 in $SMPROGRAMS\The KMPlayer\KMPlayer ÊÇáÇÑ ÝÊãÇä ÝÇÑÓí.url SectionEnd Processed 1 file, writing output: Processing pages... Done! Removing unused resources... Done! Generating language tables... Done! Output: "C:\makeurl\makeurl.exe" Install: 2 pages (128 bytes), 1 section (16416 bytes), 6 instructions (168 bytes), 32 strings (940 bytes), 1 language table (194 bytes). Using zlib compression. EXE header size: 36864 / 39424 bytes Install code: 745 / 18174 bytes Install data: 0 / 0 bytes CRC (0x1B0E5A79): 4 / 4 bytes Total size: 37613 / 57602 bytes (65.2%) Result oF Nsis Nsis 2.46 Rv2 Ansi Portable:==> (KMPlayer تالار گفتمان فارسي.url) -------------------------------------------------------- .. .. .. OutFile: "makeurl.exe" Section: "" SetShellVarContext: current CreateDirectory: "$SMPROGRAMS\The KMPlayer" WriteINIStr: [InternetShortcut] URL=http://www.kmplayer.com/forums/forumdisplay.php?f=48 in $SMPROGRAMS\The KMPlayer\KMPlayer تالار گفتمان فارسي.url WriteINIStr: [InternetShortcut] IconFile=$SYSDIR\URL.dll in $SMPROGRAMS\The KMPlayer\KMPlayer تالار گفتمان فارسي.url WriteINIStr: [InternetShortcut] IconIndex=0 in $SMPROGRAMS\The KMPlayer\KMPlayer تالار گفتمان فارسي.url SectionEnd Processed 1 file, writing output: Processing pages... Done! Removing unused resources... Done! Generating language tables... Done! Output: "C:\makeurl\makeurl.exe" Install: 2 pages (128 bytes), 1 section (1048 bytes), 6 instructions (168 bytes), 32 strings (460 bytes), 1 language table (194 bytes). Using zlib compression. EXE header size: 33280 / 35840 bytes Install code: 586 / 2326 bytes Install data: 0 / 0 bytes CRC (0x2C5E152B): 4 / 4 bytes Total size: 33870 / 38170 bytes (88.7%)
I can not use Nsis Ansi for my script Unicode.
Anybody pls Help me?
what is my fault?
The file encoding will be wrong. It should be UTF-8 or UTF-16LE.
Also, this isn't the place to ask such questions; we don't make NSIS Unicode, we just make a portable version of it.
I am a Christian and a developer and moderator here.
“A soft answer turns away wrath, but a harsh word stirs up anger.” – Proverbs 15:1
"The file encoding will be wrong. It should be UTF-8 or
UTF-16LE."
Thanks man solved
"Also, this isn't the place to ask such questions; we don't make NSIS Unicode, we just make a portable version of it."
Sorry