UTF8 & HTTP

Giganews Newsgroups
Subject: UTF8 & HTTP
Posted by:  Greg (greg_…@hotmail.com)
Date: Wed, 18 Feb 2004

I've been having a problem with with some web pages... like Arabic.  If I do
a simple get: strHTML := http.Get(strURL); the characters aren't right for
the language.  If I change it to (as someone in another newsgroups
suggested) strHTML := UTF8Decode(http.Get(strURL)); strHTML ends up being
empty most of the time.

What can I do to get strHTML to contain the correct characters for the
language?

I'm using D7 and Indy 9.

Replies