Newsgroups : Microsoft : microsoft.public.inetsdk.programming.wininet : 2006 Nov : Wininet InternetOpenUrl() with scandinavian chars

www.cryer.info
Managed Newsgroup Archive

Wininet InternetOpenUrl() with scandinavian chars

Subject:Wininet InternetOpenUrl() with scandinavian chars
Posted by:"Mac" (m..@discussions.microsoft.com)
Date:Tue, 14 Nov 2006 00:48:01

Hi,

Does anyone know am I doing something wrong here or is this a bug in wininet?

I have a code in activeX control to get documents from webserver. This code
uses InternetOpenUrl to get the document. Everything was working fine until
IE7 and wininet 7.x. Now when ever I have letters like "ä" or "ö" in the URL,
I get 401 not found. When I look from webservers logs I can see that
scandinavian letters are totally missing when the call reaches the web
server.  The call is as follows:
hOpenUrl = InternetOpenUrl(hInternetSession, sUrl, vbNullString, 0,
INTERNET_FLAG_RELOAD, 0) where sUrl could be like
"http://servername/site/testiä.doc".

I would like to know does anyone have the same problem and is this a known
bug or something?

- Mac

Replies:

www.cryer.info
Managed Newsgroup Archive