escape special characters in string literals