we ran into some problems with HTMLarea when replacing the smart quotes with the HTML entity 8217, so just ended up doing this: set microsoft_apostrophe \u2019 regsub -all $microsoft_apostrophe $letter "'" letter
hope this helps Brian