Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re^3: Reg Ex to strip MS smart quotesby derby (Abbot) |
on Aug 19, 2005 at 18:18 UTC ( [id://485253]=note: print w/replies, xml ) | Need Help?? |
Are you sure? What problems are you having? Here's the snippet from the code that translates smart-quotes:
And here's how I've modified the core demoronise sub:
I didn't really care about the other stuff (such as bad html or unicode) - just translating the known cp1252 misplaced characters into something reasonable.
-derby
In Section
Seekers of Perl Wisdom
|
|