MinimalECIInput
Constructs a minimal input
Parameters
stringToEncode
the character string to encode
priorityCharset
The preferred KiteCharset. When the value of the argument is null, the algorithm chooses charsets that leads to a minimal representation. Otherwise the algorithm will use the priority charset to encode any character in the input that can be encoded by it if the charset is among the supported charsets.
fnc1
denotes the character in the input that represents the FNC1 character or -1 if this is not GS1 input.