fixed encoding for sedna