fix encoding mode dump
update readme