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

[twsocket] error when I use twsocket client in delphi 6 (ICS ver 5)

2006-07-21 Thread Pedro Martinez
Hello, I would like to use ics version 5 in delphi 6, but I have the following error when I use this component Error reading cliesocket.lasterror property is readonly, I run the demos but I have the same problems. When I use the component in code (without using the palette) , there is not

Re: [twsocket] error when I use twsocket client in delphi 6 (ICS ver 5)

2006-07-21 Thread Francois PIETTE
It is likely that the package installed withing Delphi doesn't match the source used to build your application. Do the following steps: 1) Be sure you have only one copy of ICS on your harddisk (or if you have many, be sure that only one is reachable thru various path in the system). 2) Delete

Re: [twsocket] HttpCli UTF-8 Coding Issue

2006-07-21 Thread Marcelo Grossi
Thank you all for your answers, I found out the error. It was, as probably most of you realized so far, me! : ) I read the UTF-8 specs on Wiki and it says clearly to my face: uses up to 4 bytes per character depending on the character Dunno how I missed that .. So, what I have to

Re: [twsocket] HttpCli UTF-8 Coding Issue

2006-07-21 Thread Robert Chafer
the first 7 bits of UTF-8 are ASCII, it uses the top 128 characters to represent all the other Unicode characters. Take a look at the JEDI library they have converters. On Fri, 21 Jul 2006 10:25:17 -0300, you wrote: Thank you all for your answers, I found out the error. It was, as

Re: [twsocket] HttpCli UTF-8 Coding Issue

2006-07-21 Thread Arno Garrels
Robert Chafer wrote: the first 7 bits of UTF-8 are ASCII, it uses the top 128 characters to represent all the other Unicode characters. Take a look at the JEDI library they have converters. This easy to understand article may help as well: http://www.joelonsoftware.com/articles/Unicode.html

Re: [twsocket] HttpCli UTF-8 Coding Issue

2006-07-21 Thread Marcelo Grossi
More precisely (http://en.wikipedia.org/wiki/UTF-8): UTF8 Range- n Bytes - Binary Representation (Info) 00-7F - 1 Byte - 0xxx (ASCII equivalence range) 80-0007FF - 2 Bytes - 110x 10xx (Latin letters with diacritics +

Re: [twsocket] HttpCli UTF-8 Coding Issue

2006-07-21 Thread Marcelo Grossi
Hi all, If anyone runs into this problem I had, use the following function (Delphi native) to solve it: Unit System; UTF8String = String; function Utf8ToAnsi(const S: UTF8String): string; Darn, it was so simple!!! (BTW, if you happen to see a weird char in the resulting

[twsocket] Borland has found a buyer

2006-07-21 Thread Darin McGee
http://www.regdeveloper.com/2006/07/21/borland_tools_buyer/ -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be