Unicode plug-in: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
Line 17: Line 17:
*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 31:
<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://www.scratchpaper.com 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]]

Revision as of 17:02, 2 March 2009

Author: Instructor (talk, contrib)


Links

Download v1.0:
Unicode.zip (7 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