Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Netzwerke (https://www.delphipraxis.net/14-netzwerke/)
-   -   Prism Download per IdHttp und Codepage (https://www.delphipraxis.net/138759-download-per-idhttp-und-codepage.html)

Nersgatt 17. Aug 2009 06:57


Download per IdHttp und Codepage
 
Hallo,

ich lade mir per Http eine XML-Datei runter.

Delphi-Quellcode:
 
  url := 'http://www.google.com/ig/api?weather=Berlin&hl=de';
  idHttp := TIdHttp.Create;
  try
    Result := idHttp.Get(Url);
  finally
    idHttp.Free;
  end;
Leider habe ich dabei Probleme mit Umlauten. Z.B. wird "Meistens bewölkt" als "Meistens bewvlkt" angezeigt. Wenn ich mir die Datei z.B. mit Firefox runterlade, werden die Umlaute richtig dargestellt. Wir bringe ich Indy bei, die Daten richtig zu interpretieren?

Danke!
Jens

Nersgatt 18. Aug 2009 08:11

Re: Download per IdHttp und Codepage
 
*hüstel* *räusper* :oops:


Alle Zeitangaben in WEZ +1. Es ist jetzt 07:41 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz