cgag / loc

Count lines of code quickly.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Line reports zero if file is not encoded in utf-8

jiangzhe opened this issue · comments

When checking some lua scripts encoded with gb18030(one of simplified Chinese encoding), loc reports zero.
Is there a way to specify character encoding or just ignore the decoding(to utf8) error?