Adding support of unicode in the DGM