Article View: borland.public.cppbuilder.internet.web
Article #1452Re: Unicode decoding
From: Mark Jacobs
Date: Tue, 14 Dec 2004 22:52
Date: Tue, 14 Dec 2004 22:52
21 lines
1693 bytes
1693 bytes
Have a look at WideCharToMultiByte You will need :- #include <winnls.h> and the number of the code page for the language the unicode is written in. -- Mark Jacobs "Umberto Spagnoli" <jumby@libero.it> wrote in message news:41be096a$1@newsgroups.borland.com... | I'm using IdHTTP Indy component to download a string. | If the string contains unicode characters they are encoded in this way: | | zboží | | How can I get the correct decoded string? ( zboz� ) | I tried HTTPDecode and HTMLDecode functions, but they don't work! | | I'm using Delphi 7.
Technical Details
Message-ID:
<41bf6eb6$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!news.wiretrip.org!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<41be096a$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,dc251a752e882786 X-Google-Attributes: gidfeeec,public X-Google-Language: ENGLISH,ASCII From: "Mark Jacobs" <http://www.jacobsm.com/mjmsg.htm?Borland%20Newsgroup> Newsgroups: borland.public.cppbuilder.internet.web References: <41be096a$1@newsgroups.borland.com> Subject: Re: Unicode decoding Date: Tue, 14 Dec 2004 22:52:13 -0000 Lines: 22 Organization: DK Computing MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 NNTP-Posting-Host: 81.86.186.94 Message-ID: <41bf6eb6$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1103064758 81.86.186.94 (14 Dec 2004 14:52:38 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!news.wiretrip.org!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail