Unicode problems in mql4

 

Hi,

I've been trying to use windows dll function calls to retrieve data from the web, and using it in an indicator. All works fine using calls like InternetOpenA, InternetOpenUrlA and InternetReadFile.

My problem is that some of the data retrieved might also be in russian, which makes using the ansi versions of the above functions obsolete. I've tried to use InternetOpenW which returns a valid handle, but InternetOpenUrlW (using the same parameters I used in InternetOpenUrlA ) returns a zero (NULL) handle.

So the real question is, is InternetOpenUrlW failing because mql4 only uses ansi strings (I'm assuming here)?

Thanks in advance

--

Hein.

Reason: