Add automatic encoding detection

Requires EasyRPG/Readers#100 first.
How about adding that function to liblcf instead? Other tools (lcf2xml) need this, too.