Add main() and _is_big5_charset()
Refactoring