InternetCrackUrl in juce_win32_Network.app


#1

Hi there,

I’m now making an app which has a connection with some servers over the Internet.
I found my app cannot send right sentence (written in Japanese) to a server.

I investigated juce_win32_Network, found all the escaped characters were converted into their corresponding chars at InternetCrackUrl.
Non ascii chars should be transferred in escaped form over the Internet.

So I want to recommend

        if (InternetCrackUrl (url, 0, 0, &uc))

, instead of

        if (InternetCrackUrl (url, 0, ICU_ESCAPE | ICU_DECODE, &uc))

Please let me know your opinion.

Best regards,
ioue


#2

Yes, I think you’re probably right about that. Not sure why I had those flags set…