Re: Converting "’" to an Apostrophe?



maria wrote:
I am using a CGI program to read XML files and extract their various
items. Somehow, my program converts the apostrophe "’" to ...
"\â\€\™". How do I program my CGI program to convert "’" to
an apostrophe, "'"? Is there a little CGI code that will convert
all these different strings (including dagger, ellipsis, euro symbol, double quote, etc.) to their ASCII equivalents?
Thank you very much.

maria

You have a serious misunderstanding that is much too complicated to explain here. Learn about Unicode.

--
John W. Kennedy
"The whole modern world has divided itself into Conservatives and Progressives. The business of Progressives is to go on making mistakes. The business of the Conservatives is to prevent the mistakes from being corrected."
-- G. K. Chesterton
.



Relevant Pages

  • Re: Schadenfreude lives
    ... "The whole modern world has divided itself into Conservatives and Progressives. ... The business of Progressives is to go on making mistakes. ...
    (rec.arts.books)
  • Re: New PAINT YOUR WAGON plot
    ... "The whole modern world has divided itself into Conservatives and Progressives. ... The business of Progressives is to go on making mistakes. ...
    (rec.arts.theatre.musicals)
  • Re: Broadway: Mostly for Tourists?
    ... "The whole modern world has divided itself into Conservatives and Progressives. ... The business of Progressives is to go on making mistakes. ...
    (rec.arts.theatre.musicals)
  • Re: Beginning, Middle and End
    ... "The whole modern world has divided itself into Conservatives and Progressives. ... The business of Progressives is to go on making mistakes. ...
    (rec.arts.sf.composition)
  • Re: notifying particular thread to wake up.
    ... "The whole modern world has divided itself into Conservatives and Progressives. ... The business of Progressives is to go on making mistakes. ...
    (comp.lang.java.programmer)