|
Archived; click post to view. Excerpt: Microsoft applications have this nasty habit of exchanging both your single and double quotes with "smarter" versions. They curve inwards and look really snazzy in Microsoft Word. When you cut and paste them, they're unencoded, as Windows assumes that everyone is using windows-1252 or something. Unfortunately, that's pretty annoying if you're not using a Windows character set. So you may want to alter them using the regular expressions that follow. ROTD stands for "regex of the day," in case you're wondering. And I was going for clarity here — not efficiency, so don't point out that this could be written…
|