support default charset in parsing