This addresses the motivating use-case behind #66 by implementing a new
directive which is inspired by the existing %wrapper directive. The
encoding string is matched case insensitive. Supported examples:
Moreover, some logic has been added to abort if the combination of CLI
--latin1 flags and %encoding directives contradict each other. For
instance, setting --latin1 on the command-line while requesting
%encoding "utf8" in the Alex script causes Alex to abort with an error.
This addresses the motivating use-case behind #66 by implementing a new directive which is inspired by the existing %wrapper directive. The encoding string is matched case insensitive. Supported examples:
Moreover, some logic has been added to abort if the combination of CLI
--latin1
flags and %encoding directives contradict each other. For instance, setting--latin1
on the command-line while requesting%encoding "utf8"
in the Alex script causes Alex to abort with an error.