Description: Since in the preparation of an application need to access the page, URL in with Chinese, found in the background is saved to the data in the database are garbled. The original API functions are InternetCanonicalizeUrl [] does not support Chinese encoding, spent a lot of time can not find the combination of the API function, think back to one that they write a function faster than the Internet to find, on the hands of the Writing category CUrlEncodeUnicode. This source by the well-designed, very high speed, can be competent in high-performance applications.
File list (Check if you may need any files):
CUrlEncodeUnicode.htm
testUrlEncode
.............\stdafx.cpp
.............\stdafx.h
.............\targetver.h
.............\test.h
.............\testprintw.cpp
.............\testUrlEncode.cpp
.............\testUrlEncode.vcproj
.............\testUrlEncode.vcproj.V-0A2F4FEAAD984.v.user
urlencode
.........\CUrlEncodeUnicode.cpp
.........\CUrlEncodeUnicode.h
urlencode.sln