Close inputstream, use utf8 as default charset