It is a common approach to enable an EncDec model to work with OOVs that utilizing a special and universal symbol unk to replace all OOVs.
all OOVs share a same embedding vector in the source side and they will never be correctly generated in the target side.