🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #1753

Re: HTTP and Unicode web pages

#1753
From: Stefano Bonifazi
Date: Tue, 07 Nov 2006 18:14
26 lines
1797 bytes
Thank You Mr. Lebeau for Your reply!!

Remy Lebeau (TeamB) wrote:
> That is because that is what the server is actually sending to begin with.
> You can verify that for yourself using a packet sniffer, such as Ethereal
> ()http://www.ethereal.com, to look at the data being transmitted.

Thanks for the advice that will help me in all internet Tests ;)
> 
>> if use TntMemo1->Lines->LoadFromStream(pstream); nothing is shown
> 
> Did you remember to reset the stream's Position back to 0 after Get() exits?

No i forgot... what a silly!
> 
>> if i load in a WideString this way
> <snip>
>> the same ugly characters are showed :(
> 
> As they should be.

And then how can I convert them to their proper characters when I 
display them by using TNT components?

Thank U in advance!!!
Stefano B.
Technical Details
Message-ID: <4550cd15@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <45504f4b@newsgroups.borland.com> <4550c617$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,b86c04237df4f2b2
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Tue, 07 Nov 2006 19:14:52 +0100
From: Stefano Bonifazi <stefboombastic@email.it>
User-Agent: Thunderbird 1.5.0.7 (Windows/20060909)
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.internet.socket
Subject: Re: HTTP and Unicode web pages 
References: <45504f4b@newsgroups.borland.com> <4550c617$1@newsgroups.borland.com>
In-Reply-To: <4550c617$1@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 80.104.232.71
Message-ID: <4550cd15@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1162923285 80.104.232.71 (7 Nov 2006 10:14:45 -0700)
Lines: 26
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail