Old 29th September 2016, 16:44   #1
orecchionebruno
Junior Member
 
Join Date: Jun 2010
Posts: 35
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?

Last edited by Anders; 7th October 2016 at 22:10. Reason: Title
orecchionebruno is offline   Reply With Quote
Old 29th September 2016, 18:13   #2
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 4,699
Thumbs down

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...

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Old 29th September 2016, 19:28   #3
orecchionebruno
Junior Member
 
Join Date: Jun 2010
Posts: 35
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
orecchionebruno is offline   Reply With Quote
Old 29th September 2016, 19:46   #4
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 4,699
Are you going to type Unicode-only characters into your .nsi? Otherwise there is no reason to switch editors.

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Old 29th September 2016, 22:20   #5
JasonFriday13
Major Dude
 
JasonFriday13's Avatar
 
Join Date: May 2005
Location: New Zealand
Posts: 858
Quote:
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.

"Only a MouseHelmet will save you from a MouseTrap" -Jason Ross (Me)
NSIS 3 POSIX Ninja
Wiki Profile
JasonFriday13 is offline   Reply With Quote
Old 30th September 2016, 07:16   #6
orecchionebruno
Junior Member
 
Join Date: Jun 2010
Posts: 35
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
orecchionebruno is offline   Reply With Quote
Old 3rd October 2016, 06:45   #7
Yathosho
Forum King
 
Yathosho's Avatar
 
Join Date: Jan 2002
Location: AT-DE
Posts: 3,354
Quote:
Originally Posted by orecchionebruno View Post
Otherwise which editor could I use?
There are plenty to choose from:

http://nsis.sourceforge.net/Category...t_Environments

Quote:
Originally Posted by JasonFriday13 View Post
It's not uncommon to use multiple tools to create one installer.
“not uncommon”?!
Yathosho is offline   Reply With Quote
Old 3rd October 2016, 07:50   #8
T.Slappy
Major Dude
 
T.Slappy's Avatar
 
Join Date: Jan 2006
Location: Slovakia
Posts: 512
Send a message via ICQ to 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!

Cool looking skinned Graphical Installers: www.graphical-installer.com
I offer NSIS scripting, C/C++/C#/Delphi programming: www.unsignedsw.com
Develop NSIS projects in Visual Studio 2005-2017: www.visual-installer.com
or RAD Studio 2009, 2010, XE-10.2 Tokyo: www.rad-installer.com
T.Slappy is offline   Reply With Quote
Old 4th October 2016, 07:03   #9
JasonFriday13
Major Dude
 
JasonFriday13's Avatar
 
Join Date: May 2005
Location: New Zealand
Posts: 858
Quote:
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.

"Only a MouseHelmet will save you from a MouseTrap" -Jason Ross (Me)
NSIS 3 POSIX Ninja
Wiki Profile
JasonFriday13 is offline   Reply With Quote
Reply
Go Back   Winamp & SHOUTcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump