Thread View: borland.public.cppbuilder.internet.web
2 messages
2 total messages
Started by Umberto Spagnoli
Mon, 13 Dec 2004 21:28
Unicode decoding
Author: Umberto Spagnoli
Date: Mon, 13 Dec 2004 21:28
Date: Mon, 13 Dec 2004 21:28
12 lines
1285 bytes
1285 bytes
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. Thanks in advance for your help Umberto
Re: Unicode decoding
Author: 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.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads