http://bugs.winehq.org/show_bug.cgi?id=6801
--- Comment #33 from Tefnet developers developers@tefnet.pl 2008-04-09 15:29:32 --- (In reply to comment #32)
I am not sure one needs to do any MultiByteToWideChar() at all - because the input is really 7-bit padded to 16-bit - I think you just need to do parse_html_entities() before NavigateToUrl() - parse_html_entities does in-place modification, so one might want to make a copy of surl, first, but that's basically it, I think.
I'm doing it because after parsing chm file i've got url in format like: "pr\00a9sentation_du_logiciel.htm" and NavigateToChm needs that url in format: "pr\00c3\00a9sentation_du_logiciel.htm".