Gil, If you are using Linux, or a system with GNU iconv (even Windows with cygwin), you can do this:
iconv -f utf-8 -t ascii//translit < sample.c > sample2.c "translit" causes characters that cannot be represented in the target set to be approximated by "similarly looking" characters. I tried this on the the messed up example in the C++ RTL and it does correct the goofy slashes. Kirk Wolf Dovetailed Technologies http://dovetail.com On Mon, Aug 1, 2016 at 12:31 PM, Jack J. Woehr <[email protected]> wrote: > John McKown wrote: > >> that publications people are using a "smart >> editor" to create their documentation. Much like MS Word (may it be >> accursed) >> >> inserts "smart quotes" when I want inch and foot marks (" and '). >> > There's an option in Word (ptui, ptui) to turn this behavior off. "Smart > quotes" (ha!) drove me quite bonkers in corporate email (Outlook, ptui, > ptui) until I found that setting. > > -- > Jack J. Woehr # Science is more than a body of knowledge. It's a way of > www.well.com/~jax # thinking, a way of skeptically interrogating the > universe > www.softwoehr.com # with a fine understanding of human fallibility. - > Carl Sagan > > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
