added charset for buffered reader