Brummelchen
31st July 2004 19:16 UTC
search&replace on UTF-8 functional ?
http://nsis.sourceforge.net/archive/...nstances=0,311
http://nsis.sourceforge.net/archive/...nstances=0,311
Are these functions functional on UTF-8 documents with "umlaute" (äöü ...) ?
the idea behind is that we have a pre-defined text with a username "\username\" and this needs to be replaced while installation. there's no other option!
deguix
31st July 2004 21:33 UTC
I think in UTF-8 a special character has the value of 3 characters (I'm not so professional on this so correct me if necessary).
To replace a special character with another special, you have to put in the "3 characters" form of this special character (seen by hex editors).
That's why it's not recommended to replace ASCII characters with UTF-8 characters and vice-versa. (sometimes can make the file corrupted or can make it show wrong characters)
Joost Verburg
1st August 2004 11:05 UTC
This character takes two bytes in UTF-8. If you don´t have any special characters in your script that should be in ASCII encoding you can edit your script with a UTF-8 editor.
deguix
1st August 2004 12:32 UTC
Ok, thanks Joost for correcting me.