Re: [twsocket] HttpCli UTF-8 Coding Issue

2006-07-20 Thread Robert Chafer
FireFox knows because it says so in the HTML itself: http://www.expansys.fr/ http://www.expansys.cn/ In addition the http headers indicate (for the Chinese one above): Connection: close Date: Thu, 20 Jul 2006 23:52:55 GMT Server: Microsoft-IIS/6.0 Content-Type: text/html; Charset=utf-8 Cache

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

Re: [twsocket] HttpCli UTF-8 Coding Issue

2006-07-20 Thread Marcelo Grossi
Hi, Then how come Mozilla Firefox doesn´t have this weird char problem? I just used a TMemoryStream instead of using my old TStringStream, debugged the contents of the Buffer and it is as buggy as it was. How come the server is sending me something and the browser something else? :'( Be

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

Re: [twsocket] HttpCli UTF-8 Coding Issue

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

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 by

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 C

[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

[twsocket] ICS v6 enhanced tcp server challenge

2006-07-20 Thread Arno Garrels
Hello, I found some time to work on a new multi-threading TCP server component. It features multiple listen sockets implemented as TCollectionItems and dynamic connection pooling. Threads as well as client objects are dynamically managed. Tested as a simple echo server it appears to be very fast.

Re: [twsocket] MSN IM protocol implementation with ICS

2006-07-20 Thread Francois PIETTE
> We need the specs of MSN protocol in order to understand, design and > implement a client for it. Is there any ready code (Delphi/C++) and > documentation (web site, PDF) for that specific protocol? Also, is this > information public or reverse engineered? IOW, can one get the latest > Windows Me

[twsocket] Fw: Bug dans OverbyteIcsSmtpProt v6

2006-07-20 Thread Francois PIETTE
> Dans la derniere version beta que je viens tout juste de prendre sur votre > site, il y a une perde de mémoire dans la fonction "PrepareEmail" du > fichier > "OverbyteIcsSmtpProt.pas", situé a la ligne 3376: > > if FMailMessage.GetText^ <> #0 then > > Cette fonction alloue de la mémoire et cell

[twsocket] MSN IM protocol implementation with ICS

2006-07-20 Thread Fastream Technologies
Hello, We need the specs of MSN protocol in order to understand, design and implement a client for it. Is there any ready code (Delphi/C++) and documentation (web site, PDF) for that specific protocol? Also, is this information public or reverse engineered? IOW, can one get the latest Windows

Re: [twsocket] Multiple clients - no server

2006-07-20 Thread Wilfried Mestdagh
Hello Eric, Yes you can do the same way. --- Rgds, Wilfried [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html http://www.mestdagh.biz Wednesday, July 19, 2006, 21:24, Eric Verstrepen wrote: > Hi All, > I have the following situation. > On one computer I have to connect to max. 50

Re: [twsocket] Multiple clients - no server

2006-07-20 Thread Francois Piette
Yes you can. Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html -- [EMAIL PROTECTED] Author of ICS (Internet Component Suite, freeware) Author of MidWare (Multi-tier framework, freeware) http://www.overbyte.be - Original Message - From: "Eric Verstrepen" <[EMAIL PROT