From: Rahul on
ebenZEROONE(a)verizon.net (Hactar) wrote in
news:2hokd5-vbt.ln1(a)royalty.mine.nu:

> That's not a quote (0x27), it's an 0x92, some sort of "smart quote", I
> presume. Your browser may render it as a quote, but that's not
> relevant here. "pr" may fix that, "tr" or "sed" definitely will.
> "curl" may have a relevant option.

THanks Hactar and Bill! I could tr / sed it on the raw curl op. But the
best way out for me seems to be either lynx or elinks. Here's the alias I
hacked so far in my tcshell:

alias germanfor "setenv LANG de_DE; elinks -no-references -no-numbering -
dump 'http://translate.google.com/translate_dict?q=\!*&hl=en&langpair=en%
7Cde' ; setenv LANG en_US.UTF-8"

[or similarly with lynx]

What I have not been able to figure out is how to set up lynx or elinks
to do this translation from 0x92 to 0x27 before they display it.

I prefer lynx a shade better since I had an idea of calling lynx -color -
dump .....Too ambitious it seems (or I am doing something stupid). Lynx
seems to not like it when I call it with -color plus the -dump option.
(it does display color highlighting really nicely if I just open a site
in lynx: lynx www.google.com etc.)


--
Rahul