Discussion:
Wininet InternetOpenUrl() with scandinavian chars
(too old to reply)
Mac
2006-11-14 08:48:01 UTC
Permalink
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
Vladimir Scherbina
2006-11-14 15:31:16 UTC
Permalink
Seems like a bug in wininet. Please, report it to WNDP team:
http://connect.microsoft.com/wndp
--
Vladimir (Windows SDK MVP)
Post by Mac
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
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
Loading...