Add automatic encoding detection

Requires EasyRPG/Readers#100 first.
> How about adding that function to liblcf instead? Other tools (lcf2xml) need this, too.

Done at d0557f6 and EasyRPG/liblcf@feedfaf