>
> Can you confirm that my suggested hack with explicit Perl invocation and 
> IO code injection works with ack and your BOM-UTF-16 data?
>

With Perl 5.26 and ack 2.18:

$ perl  -C '-Mopen IO=>":encoding(UTF-16LE)"' /usr/local/bin/ack --noenv 
test
UTF-16LE:Partial character at /usr/local/bin/ack line 525.
UTF-16LE:Partial character at /usr/local/bin/ack line 525.
UTF-16LE:Partial character at /usr/local/bin/ack line 543, <__ANONIO__> 
line 1.

-- 
You received this message because you are subscribed to the Google Groups "ack 
users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/ack-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to