Thread: NSIS 3.0b2
View Single Post
Old 26th October 2015, 01:16   #6
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,529
Well, technically the BOM is a valid character but I agree that we might want to give it special treatment.

StrLen returns the number of code units (char or wchar_t) not bytes and not necessarily a count of what a human would call a character.

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote