Support a charset that is extracted from "pt_BR.utf8" as valid charset

GitHub: fix #20

Reported by Antonio Terceiro. Thanks!!!