Unicode plug-in: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
m (Fix download label)
 
(6 intermediate revisions by 4 users not shown)
Line 5: Line 5:
Download v1.0:<br>
Download v1.0:<br>
<attach>Unicode.zip</attach>
<attach>Unicode.zip</attach>
Download v1.1:<br>
(supports Unicode to UTF-8 conversion)<br>
<attach>Unicode_V1.1.zip</attach>
Download v1.2:<br>
Updated for NSIS v3.x by [[User:JasonFriday13|JasonFriday13]]<br>
<attach>Unicode_V1.2.zip</attach>


Discussion:<br>
Discussion:<br>
Line 17: Line 25:
*Convert file from Unicode to ANSI
*Convert file from Unicode to ANSI
*Convert file from ANSI to Unicode
*Convert file from ANSI to Unicode
*Convert file from Unicode to UTF-8
**Conversions supported:
**Conversions supported:
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"UTF-8"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<-> ANSI
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"UTF-8"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<-> ANSI
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"UTF-16LE" <-> ANSI
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"UTF-16LE" <-> ANSI
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"UTF-16BE" <-> ANSI
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"UTF-16BE" <-> ANSI
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"UTF-16LE" <-> UTF-8
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"UTF-16BE" <-> UTF-8
*Get file unicode type:
*Get file unicode type:
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"NONE"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;- None Unicode
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"NONE"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;- None Unicode
Line 28: Line 39:
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"UTF-32LE|UCS-4LE" - 32-bit Little Endian
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"UTF-32LE|UCS-4LE" - 32-bit Little Endian
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"UTF-32BE|UCS-4BE" - 32-bit Big Endian
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"UTF-32BE|UCS-4BE" - 32-bit Big Endian


== Related ==
== Related ==
* [http://sourceforge.net/projects/nsisu/ NSIS Unicode build] - a branch of NSIS for building unicode installers
* [http://www.scratchpaper.com NSIS Unicode build] - a branch of NSIS for building unicode installers
[[Category:Plugins]]
[[Category:Plugins]]

Latest revision as of 10:50, 25 June 2022

Author: Instructor (talk, contrib)


Links

Download v1.0:
Unicode.zip (7 KB)

Download v1.1:
(supports Unicode to UTF-8 conversion)
Unicode_V1.1.zip (9 KB)

Download v1.2:
Updated for NSIS v3.x by JasonFriday13
Unicode_V1.2.zip (28 KB)

Discussion:
Forum thread

Description

This is NSIS plug-in for Unicode files conversion.


Features:

  • Convert file from Unicode to ANSI
  • Convert file from ANSI to Unicode
  • Convert file from Unicode to UTF-8
    • Conversions supported:

         "UTF-8"       <-> ANSI
         "UTF-16LE" <-> ANSI
         "UTF-16BE" <-> ANSI
         "UTF-16LE" <-> UTF-8
         "UTF-16BE" <-> UTF-8

  • Get file unicode type:

         "NONE"                      - None Unicode
         "UTF-8"                      - 8-bit Variable Width (Web)
         "UTF-16LE|UCS-2LE" - 16-bit Little Endian (Default for Windows)
         "UTF-16BE|UCS-2BE" - 16-bit Big Endian (Default for Linux)
         "UTF-32LE|UCS-4LE" - 32-bit Little Endian
         "UTF-32BE|UCS-4BE" - 32-bit Big Endian

Related