Re: [twsocket] HttpCli UTF-8 Coding Issue

2006-07-21 Thread Francois PIETTE
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

Re: [twsocket] HttpCli UTF-8 Coding Issue

2006-07-21 Thread Marcelo Grossi
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

Re: [twsocket] HttpCli UTF-8 Coding Issue

2006-07-21 Thread Robert Chafer
: 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

Re: [twsocket] HttpCli UTF-8 Coding Issue

2006-07-21 Thread Arno Garrels
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

Re: [twsocket] HttpCli UTF-8 Coding Issue

2006-07-21 Thread Marcelo Grossi
@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

Re: [twsocket] HttpCli UTF-8 Coding Issue

2006-07-21 Thread Marcelo Grossi
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

[twsocket] HttpCli UTF-8 Coding Issue

2006-07-20 Thread Marcelo Grossi
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

Re: [twsocket] HttpCli UTF-8 Coding Issue

2006-07-20 Thread Robert Chafer
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

Re: [twsocket] HttpCli UTF-8 Coding Issue

2006-07-20 Thread Angus Robertson - Magenta Systems Ltd
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

Re: [twsocket] HttpCli UTF-8 Coding Issue

2006-07-20 Thread Marcelo Grossi
? 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

Re: [twsocket] HttpCli UTF-8 Coding Issue

2006-07-20 Thread Francois PIETTE
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

Re: [twsocket] HttpCli UTF-8 Coding Issue

2006-07-20 Thread Marcelo Grossi
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

Re: [twsocket] HttpCli UTF-8 Coding Issue

2006-07-20 Thread Maurizio Lotauro
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

Re: [twsocket] HttpCli UTF-8 Coding Issue

2006-07-20 Thread Robert Chafer
@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