define source encoding
add an Error lazy dict