fdm: escape special chars