Skip to content
⌘ NSIS Forum Archive

NSIS Unicode text editor

9 posts

orecchionebruno#edited

NSIS Unicode text editor

Hi guys,

can you please give me a suggestion?

I would upgrade NSIS to the Unicode version and I have doubt, the old NSIS Script Editor (that I like!) is compatible?

Otherwise which editor could I use?
Anders#
How would we know if it is compatible if you don't tell us the name of the editor you are using?!

Asking these types of questions is a bit pointless, you could just install NSIS 3 and try. It should be compatible with most editors. (When I say compatible, I mean that the editor should be able to pass the filename to the compiler and display the compiler output correctly)

If you are going to type Unicode characters directly into your .nsi then that is a different question but it has nothing to do with NSIS 3 if you think about it. If it turns out that your editor does not support UTF-8 nor UTF-16LE then you can save Unicode strings in a .nsh that you edit with Notepad or another editor if you want to keep using your old editor for .nsi files...
orecchionebruno#
opss.. sorry I though that I wrote it

The editor name is "HM NIS Edit 2.0.3"

And I tried, it doesn't support Unicode

There is a similar script editor?

I saw NotePad ++, my question is just to have an opinion because I think everyone is using one 😁

thankss
Anders#
Are you going to type Unicode-only characters into your .nsi? Otherwise there is no reason to switch editors.
JasonFriday13#
Originally Posted by Anders View Post
Are you going to type Unicode-only characters into your .nsi? Otherwise there is no reason to switch editors.
+1

One solution is to put Unicode only characters in a .nsh file and edit it with a unicode editor (Notepad++ is my pick). Then just !include this header in your .nsi file using your favourite editor (I use HM NIS Edit).

It's not uncommon to use multiple tools to create one installer.
orecchionebruno#
thank you for your suggestions, it's a good idea to includes external files but I'm also fascinate of NotePad ++ that I've never used untill now

After your answer I tried to open a NSI file and I see it automatically set right syntax highlighting and this is first reason to use a script editor

Thank you for your suggestions guys yeahh 😁
Yathosho#
Originally Posted by orecchionebruno View Post
Otherwise which editor could I use?
There are plenty to choose from:



Originally Posted by JasonFriday13 View Post
It's not uncommon to use multiple tools to create one installer.
“not uncommon”?! 🧟
T.Slappy#
You can use my tools Visual & Installer (http://www.visual-installer.com/) for Visual Studio 2005 - 2015
or
RAD & Installer (http://www.rad-installer.com/) for Embarcadero RAD Studio (Delphi/C++ Builder) 2009, 2010, XE-XE8, 10 Seattle, 10.1 Berlin.

Feel free to download and test these tools - they are superb for editing/writing NSIS scripts - I spent some time developing them so if you have any questions PM me 🙂

Also all NSIS registered users (on this forum) have -20% discount as my thank to this community!
JasonFriday13#
Originally Posted by Yathosho View Post
“not uncommon”?! 🧟
It's a double negative way of saying 'common', but yeah it can be a bit confusing.