Description: Because in the preparation of an application need to access the page, URL in with Chinese, found in the background is saved to the database data is garbled. API function was InternetCanonicalizeUrl () does not support Chinese encoding, spent a lot of time can not find the combination of the API function, I would like to look back, to write a function to find faster than the Internet, on the hands to write this type of CUrlEncodeUnicode. This source as well-designed, very high speed, can be competent in high-performance applications.
To Search:
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