With HTTP component, you always get the data exactly as the server sent
it. HTTP component does do any processing on the data itself. It is
stored
as is in the stream you provide for storage.
Then how come Mozilla Firefox doesn´t have this weird char problem?
Firefox is much more than a
support mailing twsocket@elists.org
Sent: Friday, July 21, 2006 4:44 AM
Subject: Re: [twsocket] HttpCli UTF-8 Coding Issue
With HTTP component, you always get the data exactly as the server sent
it. HTTP component does do any processing on the data itself. It is
stored
as is in the stream you
: Friday, July 21, 2006 4:44 AM
Subject: Re: [twsocket] HttpCli UTF-8 Coding Issue
With HTTP component, you always get the data exactly as the server sent
it. HTTP component does do any processing on the data itself. It is
stored
as is in the stream you provide for storage
some time to answer
me!
Really apreciate it!
Marcelo Grossi
- Original Message -
From: Francois PIETTE [EMAIL PROTECTED]
To: ICS support mailing twsocket@elists.org
Sent: Friday, July 21, 2006 4:44 AM
Subject: Re: [twsocket] HttpCli UTF-8 Coding Issue
With HTTP
@elists.org
Sent: Friday, July 21, 2006 4:44 AM
Subject: Re: [twsocket] HttpCli UTF-8 Coding Issue
With HTTP component, you always get the data exactly as the server
sent
it. HTTP component does do any processing on the data itself. It is
stored
as is in the stream you provide
String, check the Font you are using to display it...)
Cheers,
Marcelo Grossi
- Original Message -
From: Marcelo Grossi [EMAIL PROTECTED]
To: ICS support mailing twsocket@elists.org
Sent: Friday, July 21, 2006 11:22 AM
Subject: Re: [twsocket] HttpCli UTF-8 Coding Issue
More precisely
Hello,
I´ve posted a message a few days ago about a html page being retrieved
with weird chars (through ICS's HttpCli). As very well suggested by JP in
his reply to my message, the page was endeed UTF-8 coded. But the question
remains (as I am currently building a weird char converter as they
It depends on how you interpret the characters you are downloading.
Look at this page:
http://www.expansys.fr/
Now change the encoding from ISO8859-1 to UTF-8 (in IE its right click
the page and choose encoding, FF View-Character Encoding). You see
how (in IE) the accented characters turn into
UTF-8 uses more then 1 Byte per char and on the TStringStream I'm
using to retrieve the data from the HttpCli I get mixed type chars.
The component returns a binary stream, it may be a zip file or text in
various character sets, with one or two bytes per character.
Delphi supports the 2
?
Cheers,
Marcelo Grossi
- Original Message -
From: Robert Chafer [EMAIL PROTECTED]
To: ICS support mailing twsocket@elists.org
Sent: Thursday, July 20, 2006 2:30 PM
Subject: Re: [twsocket] HttpCli UTF-8 Coding Issue
It depends on how you interpret the characters you are downloading
How do I get the chance of interpreting the characters with HttpCli? I
don't set any property whatsoever regarding the enconding of the data I'm
receiving. The TStringStream the data comes is already the way I showed in
my last message ... How do I get the raw data or something?
With HTTP
support mailing twsocket@elists.org
Sent: Thursday, July 20, 2006 4:24 PM
Subject: Re: [twsocket] HttpCli UTF-8 Coding Issue
How do I get the chance of interpreting the characters with HttpCli? I
don't set any property whatsoever regarding the enconding of the data I'm
receiving
Scrive Marcelo Grossi [EMAIL PROTECTED]:
Hi,
Then how come Mozilla Firefox doesn´t have this weird char problem?
What you have in the stream is the body that the server sent to you. Most
probably in the header there are useful information to know how interpreted
the body.
Do you
@elists.org
Sent: Thursday, July 20, 2006 4:24 PM
Subject: Re: [twsocket] HttpCli UTF-8 Coding Issue
How do I get the chance of interpreting the characters with HttpCli? I
don't set any property whatsoever regarding the enconding of the data I'm
receiving. The TStringStream the data
14 matches
Mail list logo