fix comment about what encoded string means
add EID and EIDDIRECT encoding