Closed kechako closed 4 years ago
UTF-8 text files that contain non-ASCII characters are not matched when the pattern is ASCII only. If --enc=utf-8 option is specified, it matches.
--enc=utf-8
This issue occurs in v5.8.0 or later. It doesn't occur in v5.7.0.
The following is sample.
sample.txt
非 ASCII 文字と ASCII が 混ざっている テキスト
And if run the following command, it doesn't match.
$ jvgrep ASCII sample.txt
Thank you!
UTF-8 text files that contain non-ASCII characters are not matched when the pattern is ASCII only. If
--enc=utf-8
option is specified, it matches.This issue occurs in v5.8.0 or later. It doesn't occur in v5.7.0.
The following is sample.
sample.txt
And if run the following command, it doesn't match.