🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Help: HTTP and Unicode web pages

#1741
From: Stefano Bonifazi
Date: Tue, 07 Nov 2006 11:10
33 lines
2332 bytes
Hi Mr. Galema!
  Thank You very much for Your reply!


Hans Galema wrote:
> So you only want to show the source of that page. If you wanted to display
> the page you could use a T(Cpp)WebBrowser component. 

No I will want to use the text I got in future.. for now I've been only 
testing .. the first steps, I need to parse the Unicode text then!

 >Is the page after
 > download correctly displayed in IE/Firefox?

Very good question! After saving a page as htm, by using 
TTntMemoryStream::SaveToFile method few pages are then loaded fine with 
Opera browser, most simply display those ugly characters instead!
The pages loaded fine with opera anyway were in php.. mayb some code 
simply reloaded the text from internet connection whel loaded with opera!

> Now before I say things that I cannot make true: can you
> give the url of such a page on the internet so we could have
> a look?

No problem... I will need my code to work with common pages .. so I just 
used google to get some Russian pages because I thought the problem was 
with php pages I was using as tests... but then I tried even a simple 
htm page ( http://scream3.film.ru/story.htm ) .. of course this is only 
a test page! I won't work with that! I used it as a test page ;)

Hope You can help me!!!
Thanks again!!
Stefano
Technical Details
Message-ID: <45506982@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <45504f4b@newsgroups.borland.com> <45506156@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 12:10:01 +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: Help:  HTTP and Unicode web pages 
References: <45504f4b@newsgroups.borland.com> <45506156@newsgroups.borland.com>
In-Reply-To: <45506156@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 80.104.231.60
Message-ID: <45506982@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1162897794 80.104.231.60 (7 Nov 2006 03:09:54 -0700)
Lines: 33
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail